Class: FluentCommandBuilder::TeamFoundationTEE::V100::Merge

Inherits:
CommandBase
  • Object
show all
Defined in:
lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb

Instance Method Summary collapse

Methods inherited from CommandBase

#configure!, #execute!, #to_s

Constructor Details

#initialize(underlying_builder, source, destination) ⇒ Merge

Returns a new instance of Merge.



1013
1014
1015
1016
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1013

def initialize(underlying_builder, source, destination)
  super underlying_builder
  @b.append " merge #{@b.format source} #{@b.format destination}"
end

Instance Method Details

#baseless {|@b| ... } ⇒ Object

Yields:

  • (@b)


1052
1053
1054
1055
1056
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1052

def baseless
  @b.append ' -baseless'
  yield @b if block_given?
  self
end

#candidate {|@b| ... } ⇒ Object

Yields:

  • (@b)


1027
1028
1029
1030
1031
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1027

def candidate
  @b.append ' -candidate'
  yield @b if block_given?
  self
end

#conservative {|@b| ... } ⇒ Object

Yields:

  • (@b)


1067
1068
1069
1070
1071
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1067

def conservative
  @b.append ' -conservative'
  yield @b if block_given?
  self
end

#discard {|@b| ... } ⇒ Object

Yields:

  • (@b)


1032
1033
1034
1035
1036
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1032

def discard
  @b.append ' -discard'
  yield @b if block_given?
  self
end

#force {|@b| ... } ⇒ Object

Yields:

  • (@b)


1022
1023
1024
1025
1026
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1022

def force
  @b.append ' -force'
  yield @b if block_given?
  self
end

#format(format) {|@b| ... } ⇒ Object

Yields:

  • (@b)


1072
1073
1074
1075
1076
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1072

def format(format)
  @b.append " -format:#{@b.format format}"
  yield @b if block_given?
  self
end

#lock(lock_type) {|@b| ... } ⇒ Object

Yields:

  • (@b)


1042
1043
1044
1045
1046
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1042

def lock(lock_type)
  @b.append " -lock:#{@b.format lock_type}"
  yield @b if block_given?
  self
end

#login(username, password = nil) {|@b| ... } ⇒ Object

Yields:

  • (@b)


1082
1083
1084
1085
1086
1087
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1082

def (username, password=nil)
  @b.append " -login:#{@b.format username}"
  @b.append ",#{@b.format_password password}" unless password.nil?
  yield @b if block_given?
  self
end

#no_implicit_baseless {|@b| ... } ⇒ Object

Yields:

  • (@b)


1062
1063
1064
1065
1066
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1062

def no_implicit_baseless
  @b.append ' -noImplicitBaseless'
  yield @b if block_given?
  self
end

#no_prompt {|@b| ... } ⇒ Object

Yields:

  • (@b)


1077
1078
1079
1080
1081
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1077

def no_prompt
  @b.append ' -noPrompt'
  yield @b if block_given?
  self
end

#no_summary {|@b| ... } ⇒ Object

Yields:

  • (@b)


1057
1058
1059
1060
1061
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1057

def no_summary
  @b.append ' -noSummary'
  yield @b if block_given?
  self
end

#preview {|@b| ... } ⇒ Object

Yields:

  • (@b)


1047
1048
1049
1050
1051
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1047

def preview
  @b.append ' -preview'
  yield @b if block_given?
  self
end

#recursive {|@b| ... } ⇒ Object

Yields:

  • (@b)


1017
1018
1019
1020
1021
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1017

def recursive
  @b.append ' -recursive'
  yield @b if block_given?
  self
end

#version(version_spec) {|@b| ... } ⇒ Object

Yields:

  • (@b)


1037
1038
1039
1040
1041
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 1037

def version(version_spec)
  @b.append " -version:#{@b.format version_spec}"
  yield @b if block_given?
  self
end