Class: FluentCommandBuilder::TeamFoundationTEE::V100::CompareWithShelvesetVersion

Inherits:
CommandBase
  • Object
show all
Defined in:
lib/fluent_command_builder/command_builders/team_foundation_tee_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.



639
640
641
642
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 639

def initialize(underlying_builder, shelveset_item_spec)
  super underlying_builder
  @b.append " difference #{@b.format shelveset_item_spec}"
end

Instance Method Details

#format(format) {|@b| ... } ⇒ Object

Yields:

  • (@b)


654
655
656
657
658
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 654

def format(format)
  @b.append " -format:#{@b.format format}"
  yield @b if block_given?
  self
end

#ignore_case {|@b| ... } ⇒ Object

Yields:

  • (@b)


669
670
671
672
673
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 669

def ignore_case
  @b.append ' -ignoreCase'
  yield @b if block_given?
  self
end

#ignore_eol {|@b| ... } ⇒ Object

Yields:

  • (@b)


664
665
666
667
668
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 664

def ignore_eol
  @b.append ' -ignoreEol'
  yield @b if block_given?
  self
end

#ignore_space {|@b| ... } ⇒ Object

Yields:

  • (@b)


659
660
661
662
663
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 659

def ignore_space
  @b.append ' -ignoreSpace'
  yield @b if block_given?
  self
end

#login(username, password = nil) {|@b| ... } ⇒ Object

Yields:

  • (@b)


689
690
691
692
693
694
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 689

def (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

Yields:

  • (@b)


684
685
686
687
688
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 684

def no_prompt
  @b.append ' -noPrompt'
  yield @b if block_given?
  self
end

#options {|@b| ... } ⇒ Object

Yields:

  • (@b)


679
680
681
682
683
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 679

def options
  @b.append ' -options'
  yield @b if block_given?
  self
end

#recursive {|@b| ... } ⇒ Object

Yields:

  • (@b)


674
675
676
677
678
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 674

def recursive
  @b.append ' -recursive'
  yield @b if block_given?
  self
end

#shelveset(shelveset_name, shelveset_owner = nil) {|@b| ... } ⇒ Object

Yields:

  • (@b)


643
644
645
646
647
648
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 643

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

Yields:

  • (@b)


649
650
651
652
653
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb', line 649

def type(file_type)
  @b.append " -type:#{@b.format file_type}"
  yield @b if block_given?
  self
end