Class: FluentCommandBuilder::TeamFoundationTEE::V101::CompareWithShelvesetVersion
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundationTEE::V101::CompareWithShelvesetVersion
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, shelveset_item_spec) ⇒ CompareWithShelvesetVersion
Returns a new instance of CompareWithShelvesetVersion.
672
673
674
675
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 672
def initialize(underlying_builder, shelveset_item_spec)
super underlying_builder
@b.append " difference #{@b.format shelveset_item_spec}"
end
|
Instance Method Details
687
688
689
690
691
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 687
def format(format)
@b.append " -format:#{@b.format format}"
yield @b if block_given?
self
end
|
#ignore_case {|@b| ... } ⇒ Object
702
703
704
705
706
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 702
def ignore_case
@b.append ' -ignoreCase'
yield @b if block_given?
self
end
|
#ignore_eol {|@b| ... } ⇒ Object
697
698
699
700
701
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 697
def ignore_eol
@b.append ' -ignoreEol'
yield @b if block_given?
self
end
|
#ignore_space {|@b| ... } ⇒ Object
692
693
694
695
696
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 692
def ignore_space
@b.append ' -ignoreSpace'
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
722
723
724
725
726
727
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 722
def login(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_prompt {|@b| ... } ⇒ Object
717
718
719
720
721
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 717
def no_prompt
@b.append ' -noPrompt'
yield @b if block_given?
self
end
|
#options {|@b| ... } ⇒ Object
712
713
714
715
716
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 712
def options
@b.append ' -options'
yield @b if block_given?
self
end
|
#recursive {|@b| ... } ⇒ Object
707
708
709
710
711
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 707
def recursive
@b.append ' -recursive'
yield @b if block_given?
self
end
|
#shelveset(shelveset_name, shelveset_owner = nil) {|@b| ... } ⇒ Object
676
677
678
679
680
681
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 676
def shelveset(shelveset_name, shelveset_owner=nil)
@b.append " -shelveset:#{@b.format shelveset_name}"
@b.append ";#{@b.format shelveset_owner}" unless shelveset_owner.nil?
yield @b if block_given?
self
end
|
#type(file_type) {|@b| ... } ⇒ Object
682
683
684
685
686
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 682
def type(file_type)
@b.append " -type:#{@b.format file_type}"
yield @b if block_given?
self
end
|