Class: FluentCommandBuilder::Tf::TEE2010::Reconcile
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Tf::TEE2010::Reconcile
- Defined in:
- lib/fluent_command_builder/command_builders/tf_tee_2010.rb
Instance Method Summary collapse
-
#initialize(builder) ⇒ Reconcile
constructor
A new instance of Reconcile.
- #team_project(team_project_name) {|@builder| ... } ⇒ Object
- #workspace(workspace_name, workspace_owner = nil) {|@builder| ... } ⇒ Object
Methods inherited from CommandBase
Constructor Details
#initialize(builder) ⇒ Reconcile
Returns a new instance of Reconcile.
1238 1239 1240 1241 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 1238 def initialize(builder) super builder @builder.append ' reconcile' end |
Instance Method Details
#team_project(team_project_name) {|@builder| ... } ⇒ Object
1242 1243 1244 1245 1246 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 1242 def team_project(team_project_name) @builder.append " -teamProject:#{@builder.format team_project_name}" yield @builder if block_given? self end |
#workspace(workspace_name, workspace_owner = nil) {|@builder| ... } ⇒ Object
1247 1248 1249 1250 1251 1252 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 1247 def workspace(workspace_name, workspace_owner=nil) @builder.append " -workspace:#{@builder.format workspace_name}" @builder.append ";#{@builder.format workspace_owner}" unless workspace_owner.nil? yield @builder if block_given? self end |