Class: FluentCommandBuilder::TeamFoundation::V100::FolderDiff
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::TeamFoundation::V100::FolderDiff
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, target_path, source_path = nil) ⇒ FolderDiff
Returns a new instance of FolderDiff.
789
790
791
792
793
794
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 789
def initialize(underlying_builder, target_path, source_path=nil)
super underlying_builder
@b.append ' folderDiff'
@b.append " #{@b.format source_path}" unless source_path.nil?
@b.append " #{@b.format target_path}"
end
|
Instance Method Details
#collection(team_project_collection_url) {|@b| ... } ⇒ Object
805
806
807
808
809
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 805
def collection(team_project_collection_url)
@b.append " /collection:#{@b.format team_project_collection_url}"
yield @b if block_given?
self
end
|
#filter(filter) {|@b| ... } ⇒ Object
810
811
812
813
814
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 810
def filter(filter)
@b.append " /filter:#{@b.format filter, ';'}"
yield @b if block_given?
self
end
|
#filter_local_paths_only {|@b| ... } ⇒ Object
815
816
817
818
819
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 815
def filter_local_paths_only
@b.append ' /filterLocalPathsOnly'
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
820
821
822
823
824
825
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 820
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
800
801
802
803
804
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 800
def no_prompt
@b.append ' /noPrompt'
yield @b if block_given?
self
end
|
#recursive {|@b| ... } ⇒ Object
795
796
797
798
799
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 795
def recursive
@b.append ' /recursive'
yield @b if block_given?
self
end
|
#view(view) {|@b| ... } ⇒ Object
826
827
828
829
830
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 826
def view(view)
@b.append " /view:#{@b.format view, ','}"
yield @b if block_given?
self
end
|