Class: FluentCommandBuilder::Tf::V2010::Merge
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Tf::V2010::Merge
- Defined in:
- lib/fluent_command_builder/command_builders/tf_2010.rb
Instance Method Summary collapse
- #baseless {|@builder| ... } ⇒ Object
- #candidate {|@builder| ... } ⇒ Object
- #conservative {|@builder| ... } ⇒ Object
- #discard {|@builder| ... } ⇒ Object
- #force {|@builder| ... } ⇒ Object
- #format(format) {|@builder| ... } ⇒ Object
-
#initialize(builder, source, destination) ⇒ Merge
constructor
A new instance of Merge.
- #lock(lock_type) {|@builder| ... } ⇒ Object
- #login(username, password = nil) {|@builder| ... } ⇒ Object
- #no_implicit_baseless {|@builder| ... } ⇒ Object
- #no_prompt {|@builder| ... } ⇒ Object
- #no_summary {|@builder| ... } ⇒ Object
- #preview {|@builder| ... } ⇒ Object
- #recursive {|@builder| ... } ⇒ Object
- #version(version_spec) {|@builder| ... } ⇒ Object
Methods inherited from CommandBase
Constructor Details
#initialize(builder, source, destination) ⇒ Merge
Returns a new instance of Merge.
1083 1084 1085 1086 |
# File 'lib/fluent_command_builder/command_builders/tf_2010.rb', line 1083 def initialize(builder, source, destination) super builder @builder.append " merge #{@builder.format source} #{@builder.format destination}" end |
Instance Method Details
#baseless {|@builder| ... } ⇒ Object
1122 1123 1124 1125 1126 |
# File 'lib/fluent_command_builder/command_builders/tf_2010.rb', line 1122 def baseless @builder.append ' /baseless' yield @builder if block_given? self end |
#candidate {|@builder| ... } ⇒ Object
1097 1098 1099 1100 1101 |
# File 'lib/fluent_command_builder/command_builders/tf_2010.rb', line 1097 def candidate @builder.append ' /candidate' yield @builder if block_given? self end |
#conservative {|@builder| ... } ⇒ Object
1137 1138 1139 1140 1141 |
# File 'lib/fluent_command_builder/command_builders/tf_2010.rb', line 1137 def conservative @builder.append ' /conservative' yield @builder if block_given? self end |
#discard {|@builder| ... } ⇒ Object
1102 1103 1104 1105 1106 |
# File 'lib/fluent_command_builder/command_builders/tf_2010.rb', line 1102 def discard @builder.append ' /discard' yield @builder if block_given? self end |
#force {|@builder| ... } ⇒ Object
1092 1093 1094 1095 1096 |
# File 'lib/fluent_command_builder/command_builders/tf_2010.rb', line 1092 def force @builder.append ' /force' yield @builder if block_given? self end |
#format(format) {|@builder| ... } ⇒ Object
1142 1143 1144 1145 1146 |
# File 'lib/fluent_command_builder/command_builders/tf_2010.rb', line 1142 def format(format) @builder.append " /format:#{@builder.format format}" yield @builder if block_given? self end |
#lock(lock_type) {|@builder| ... } ⇒ Object
1112 1113 1114 1115 1116 |
# File 'lib/fluent_command_builder/command_builders/tf_2010.rb', line 1112 def lock(lock_type) @builder.append " /lock:#{@builder.format lock_type}" yield @builder if block_given? self end |
#login(username, password = nil) {|@builder| ... } ⇒ Object
1152 1153 1154 1155 1156 1157 |
# File 'lib/fluent_command_builder/command_builders/tf_2010.rb', line 1152 def login(username, password=nil) @builder.append " /login:#{@builder.format username}" @builder.append ",#{@builder.format password}" unless password.nil? yield @builder if block_given? self end |
#no_implicit_baseless {|@builder| ... } ⇒ Object
1132 1133 1134 1135 1136 |
# File 'lib/fluent_command_builder/command_builders/tf_2010.rb', line 1132 def no_implicit_baseless @builder.append ' /noImplicitBaseless' yield @builder if block_given? self end |
#no_prompt {|@builder| ... } ⇒ Object
1147 1148 1149 1150 1151 |
# File 'lib/fluent_command_builder/command_builders/tf_2010.rb', line 1147 def no_prompt @builder.append ' /noPrompt' yield @builder if block_given? self end |
#no_summary {|@builder| ... } ⇒ Object
1127 1128 1129 1130 1131 |
# File 'lib/fluent_command_builder/command_builders/tf_2010.rb', line 1127 def no_summary @builder.append ' /noSummary' yield @builder if block_given? self end |
#preview {|@builder| ... } ⇒ Object
1117 1118 1119 1120 1121 |
# File 'lib/fluent_command_builder/command_builders/tf_2010.rb', line 1117 def preview @builder.append ' /preview' yield @builder if block_given? self end |
#recursive {|@builder| ... } ⇒ Object
1087 1088 1089 1090 1091 |
# File 'lib/fluent_command_builder/command_builders/tf_2010.rb', line 1087 def recursive @builder.append ' /recursive' yield @builder if block_given? self end |
#version(version_spec) {|@builder| ... } ⇒ Object
1107 1108 1109 1110 1111 |
# File 'lib/fluent_command_builder/command_builders/tf_2010.rb', line 1107 def version(version_spec) @builder.append " /version:#{@builder.format version_spec}" yield @builder if block_given? self end |