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.
788
789
790
791
792
793
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 788
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
804
805
806
807
808
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 804
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
809
810
811
812
813
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 809
def filter(filter)
@b.append " /filter:#{@b.format filter, ';'}"
yield @b if block_given?
self
end
|
#filter_local_paths_only {|@b| ... } ⇒ Object
814
815
816
817
818
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 814
def filter_local_paths_only
@b.append ' /filterLocalPathsOnly'
yield @b if block_given?
self
end
|
#login(username, password = nil) {|@b| ... } ⇒ Object
819
820
821
822
823
824
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 819
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
799
800
801
802
803
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 799
def no_prompt
@b.append ' /noPrompt'
yield @b if block_given?
self
end
|
#recursive {|@b| ... } ⇒ Object
794
795
796
797
798
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 794
def recursive
@b.append ' /recursive'
yield @b if block_given?
self
end
|
#view(view) {|@b| ... } ⇒ Object
825
826
827
828
829
|
# File 'lib/fluent_command_builder/command_builders/team_foundation_100.rb', line 825
def view(view)
@b.append " /view:#{@b.format view, ','}"
yield @b if block_given?
self
end
|