Class: FluentCommandBuilder::TeamFoundation::V100::CompareWithShelvesetVersion
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundation::V100::CompareWithShelvesetVersion
show all
- Defined in:
- lib/fluent_command_builder/command_builders/team_foundation_100.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.
694
695
696
697
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 694
def initialize(underlying_builder, shelveset_item_spec)
super underlying_builder
@b.append " difference #{@b.format shelveset_item_spec}"
end
|
Instance Method Details
709
710
711
712
713
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 709
def format(format)
@b.append " /format:#{@b.format format}"
yield @b if block_given?
self
end
|
#ignore_case {|@b| ... } ⇒ Object
724
725
726
727
728
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 724
def ignore_case
@b.append ' /ignoreCase'
yield @b if block_given?
self
end
|
#ignore_eol {|@b| ... } ⇒ Object
719
720
721
722
723
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 719
def ignore_eol
@b.append ' /ignoreEol'
yield @b if block_given?
self
end
|
#ignore_space {|@b| ... } ⇒ Object
714
715
716
717
718
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 714
def ignore_space
@b.append ' /ignoreSpace'
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
744
745
746
747
748
749
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 744
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
739
740
741
742
743
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 739
def no_prompt
@b.append ' /noPrompt'
yield @b if block_given?
self
end
|
#options {|@b| ... } ⇒ Object
734
735
736
737
738
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 734
def options
@b.append ' /options'
yield @b if block_given?
self
end
|
#recursive {|@b| ... } ⇒ Object
729
730
731
732
733
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 729
def recursive
@b.append ' /recursive'
yield @b if block_given?
self
end
|
#shelveset(shelveset_name, shelveset_owner = nil) {|@b| ... } ⇒ Object
698
699
700
701
702
703
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 698
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
704
705
706
707
708
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 704
def type(file_type)
@b.append " /type:#{@b.format file_type}"
yield @b if block_given?
self
end
|