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.



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

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)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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)


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

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)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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

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

Yields:

  • (@b)


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

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