Class: FluentCommandBuilder::Tf::TEE2010::CompareWithShelvesetVersion
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Tf::TEE2010::CompareWithShelvesetVersion
- Defined in:
- lib/fluent_command_builder/command_builders/tf_tee_2010.rb
Instance Method Summary collapse
- #format(format) {|@builder| ... } ⇒ Object
- #ignore_case {|@builder| ... } ⇒ Object
- #ignore_eol {|@builder| ... } ⇒ Object
- #ignore_space {|@builder| ... } ⇒ Object
-
#initialize(builder, shelveset_item_spec) ⇒ CompareWithShelvesetVersion
constructor
A new instance of CompareWithShelvesetVersion.
- #login(username, password = nil) {|@builder| ... } ⇒ Object
- #no_prompt {|@builder| ... } ⇒ Object
- #options {|@builder| ... } ⇒ Object
- #recursive {|@builder| ... } ⇒ Object
- #shelveset(shelveset_name, shelveset_owner = nil) {|@builder| ... } ⇒ Object
- #type(file_type) {|@builder| ... } ⇒ Object
Methods inherited from CommandBase
Constructor Details
#initialize(builder, shelveset_item_spec) ⇒ CompareWithShelvesetVersion
Returns a new instance of CompareWithShelvesetVersion.
648 649 650 651 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 648 def initialize(builder, shelveset_item_spec) super builder @builder.append " difference #{@builder.format shelveset_item_spec}" end |
Instance Method Details
#format(format) {|@builder| ... } ⇒ Object
663 664 665 666 667 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 663 def format(format) @builder.append " -format:#{@builder.format format}" yield @builder if block_given? self end |
#ignore_case {|@builder| ... } ⇒ Object
678 679 680 681 682 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 678 def ignore_case @builder.append ' -ignoreCase' yield @builder if block_given? self end |
#ignore_eol {|@builder| ... } ⇒ Object
673 674 675 676 677 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 673 def ignore_eol @builder.append ' -ignoreEol' yield @builder if block_given? self end |
#ignore_space {|@builder| ... } ⇒ Object
668 669 670 671 672 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 668 def ignore_space @builder.append ' -ignoreSpace' yield @builder if block_given? self end |
#login(username, password = nil) {|@builder| ... } ⇒ Object
698 699 700 701 702 703 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 698 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_prompt {|@builder| ... } ⇒ Object
693 694 695 696 697 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 693 def no_prompt @builder.append ' -noPrompt' yield @builder if block_given? self end |
#options {|@builder| ... } ⇒ Object
688 689 690 691 692 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 688 def @builder.append ' -options' yield @builder if block_given? self end |
#recursive {|@builder| ... } ⇒ Object
683 684 685 686 687 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 683 def recursive @builder.append ' -recursive' yield @builder if block_given? self end |
#shelveset(shelveset_name, shelveset_owner = nil) {|@builder| ... } ⇒ Object
652 653 654 655 656 657 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 652 def shelveset(shelveset_name, shelveset_owner=nil) @builder.append " -shelveset:#{@builder.format shelveset_name}" @builder.append ";#{@builder.format shelveset_owner}" unless shelveset_owner.nil? yield @builder if block_given? self end |
#type(file_type) {|@builder| ... } ⇒ Object
658 659 660 661 662 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 658 def type(file_type) @builder.append " -type:#{@builder.format file_type}" yield @builder if block_given? self end |