Class: FluentCommandBuilder::Tf::TEE2010::History
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::Tf::TEE2010::History
- Defined in:
- lib/fluent_command_builder/command_builders/tf_tee_2010.rb
Instance Method Summary collapse
- #collection(team_project_collection_url) {|@builder| ... } ⇒ Object
- #format(format) {|@builder| ... } ⇒ Object
-
#initialize(builder, item_spec) ⇒ History
constructor
A new instance of History.
- #item_mode {|@builder| ... } ⇒ Object
- #login(username, password = nil) {|@builder| ... } ⇒ Object
- #no_prompt {|@builder| ... } ⇒ Object
- #recursive {|@builder| ... } ⇒ Object
- #slot_mode {|@builder| ... } ⇒ Object
- #sort(sort) {|@builder| ... } ⇒ Object
- #stop_after(number) {|@builder| ... } ⇒ Object
- #user(user_name) {|@builder| ... } ⇒ Object
- #version(version_spec) {|@builder| ... } ⇒ Object
Methods inherited from CommandBase
Constructor Details
#initialize(builder, item_spec) ⇒ History
Returns a new instance of History.
823 824 825 826 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 823 def initialize(builder, item_spec) super builder @builder.append " history #{@builder.format item_spec}" end |
Instance Method Details
#collection(team_project_collection_url) {|@builder| ... } ⇒ Object
878 879 880 881 882 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 878 def collection(team_project_collection_url) @builder.append " -collection:#{@builder.format team_project_collection_url}" yield @builder if block_given? self end |
#format(format) {|@builder| ... } ⇒ Object
847 848 849 850 851 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 847 def format(format) @builder.append " -format:#{@builder.format format}" yield @builder if block_given? self end |
#item_mode {|@builder| ... } ⇒ Object
857 858 859 860 861 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 857 def item_mode @builder.append ' -itemMode' yield @builder if block_given? self end |
#login(username, password = nil) {|@builder| ... } ⇒ Object
867 868 869 870 871 872 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 867 def login(username, password=nil) @builder.append " -login:#{@builder.format username}" @builder.append ",#{@builder.format password}" unless password.nil? yield @builder if block_given? self end |
#no_prompt {|@builder| ... } ⇒ Object
862 863 864 865 866 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 862 def no_prompt @builder.append ' -noPrompt' yield @builder if block_given? self end |
#recursive {|@builder| ... } ⇒ Object
837 838 839 840 841 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 837 def recursive @builder.append ' -recursive' yield @builder if block_given? self end |
#slot_mode {|@builder| ... } ⇒ Object
852 853 854 855 856 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 852 def slot_mode @builder.append ' -slotMode' yield @builder if block_given? self end |
#sort(sort) {|@builder| ... } ⇒ Object
873 874 875 876 877 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 873 def sort(sort) @builder.append " -sort:#{@builder.format sort}" yield @builder if block_given? self end |
#stop_after(number) {|@builder| ... } ⇒ Object
832 833 834 835 836 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 832 def stop_after(number) @builder.append " -stopAfter:#{@builder.format number}" yield @builder if block_given? self end |
#user(user_name) {|@builder| ... } ⇒ Object
842 843 844 845 846 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 842 def user(user_name) @builder.append " -user:#{@builder.format user_name}" yield @builder if block_given? self end |
#version(version_spec) {|@builder| ... } ⇒ Object
827 828 829 830 831 |
# File 'lib/fluent_command_builder/command_builders/tf_tee_2010.rb', line 827 def version(version_spec) @builder.append " -version:#{@builder.format version_spec}" yield @builder if block_given? self end |