Class: FluentCommandBuilder::TeamFoundationTEE::V101::Merge

Inherits:
CommandBase
  • Object
show all
Defined in:
lib/fluent_command_builder/command_builders/team_foundation_tee_101.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.



1044
1045
1046
1047
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1044

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)


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

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

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

Yields:

  • (@b)


1058
1059
1060
1061
1062
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1058

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

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

Yields:

  • (@b)


1098
1099
1100
1101
1102
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1098

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

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

Yields:

  • (@b)


1063
1064
1065
1066
1067
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1063

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

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

Yields:

  • (@b)


1053
1054
1055
1056
1057
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1053

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

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

Yields:

  • (@b)


1103
1104
1105
1106
1107
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1103

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

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

Yields:

  • (@b)


1073
1074
1075
1076
1077
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1073

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)


1113
1114
1115
1116
1117
1118
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1113

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)


1093
1094
1095
1096
1097
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1093

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

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

Yields:

  • (@b)


1108
1109
1110
1111
1112
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1108

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

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

Yields:

  • (@b)


1088
1089
1090
1091
1092
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1088

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

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

Yields:

  • (@b)


1078
1079
1080
1081
1082
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1078

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

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

Yields:

  • (@b)


1048
1049
1050
1051
1052
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1048

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

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

Yields:

  • (@b)


1068
1069
1070
1071
1072
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 1068

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