Class: FluentCommandBuilder::TeamFoundationTEE::V101::TeamFoundationTEE

Inherits:
CommandBase
  • Object
show all
Defined in:
lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb

Instance Method Summary collapse

Methods inherited from CommandBase

#configure!, #execute!, #to_s

Constructor Details

#initialize(underlying_builder) ⇒ TeamFoundationTEE

Returns a new instance of TeamFoundationTEE.



24
25
26
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 24

def initialize(underlying_builder)
  super underlying_builder
end

Instance Method Details

#add(item_spec) ⇒ Object



27
28
29
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 27

def add(item_spec)
  Add.new @b, item_spec
end

#branch(old_item, new_item) ⇒ Object



30
31
32
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 30

def branch(old_item, new_item)
  Branch.new @b, old_item, new_item
end

#branches(item_spec) ⇒ Object



33
34
35
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 33

def branches(item_spec)
  Branches.new @b, item_spec
end

#changeset(changeset_number = nil) ⇒ Object



36
37
38
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 36

def changeset(changeset_number=nil)
  Changeset.new @b, changeset_number
end

#checkin(item_spec = nil) ⇒ Object



39
40
41
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 39

def checkin(item_spec=nil)
  Checkin.new @b, item_spec
end

#checkin_shelveset(shelveset_name, shelveset_owner = nil) ⇒ Object



42
43
44
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 42

def checkin_shelveset(shelveset_name, shelveset_owner=nil)
  CheckinShelveset.new @b, shelveset_name, shelveset_owner
end

#checkout(item_spec = nil) ⇒ Object



45
46
47
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 45

def checkout(item_spec=nil)
  Checkout.new @b, item_spec
end

#cloak_folder(server_folder) ⇒ Object



192
193
194
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 192

def cloak_folder(server_folder)
  CloakFolder.new @b, server_folder
end

#compare(item_spec, item_spec2) ⇒ Object



57
58
59
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 57

def compare(item_spec, item_spec2)
  Compare.new @b, item_spec, item_spec2
end

#compare_with_current_workspace_version(item_spec) ⇒ Object



54
55
56
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 54

def compare_with_current_workspace_version(item_spec)
  CompareWithCurrentWorkspaceVersion.new @b, item_spec
end

#compare_with_shelveset_version(shelveset_item_spec) ⇒ Object



60
61
62
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 60

def compare_with_shelveset_version(shelveset_item_spec)
  CompareWithShelvesetVersion.new @b, shelveset_item_spec
end

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

Yields:

  • (@b)


63
64
65
66
67
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 63

def configure_compare_tool
  @b.append ' difference -configure'
  yield @b if block_given?
  self
end

#copy_profile(existing_profile_name, new_profile_name) {|@b| ... } ⇒ Object

Yields:

  • (@b)


110
111
112
113
114
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 110

def copy_profile(existing_profile_name, new_profile_name)
  @b.append " profile -copy #{@b.format existing_profile_name} #{@b.format new_profile_name}"
  yield @b if block_given?
  self
end

#create_workspace(workspace_name, workspace_owner = nil) ⇒ Object



198
199
200
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 198

def create_workspace(workspace_name, workspace_owner=nil)
  CreateWorkspace.new @b, workspace_name, workspace_owner
end

#decloak_folder(server_folder) ⇒ Object



195
196
197
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 195

def decloak_folder(server_folder)
  DecloakFolder.new @b, server_folder
end

#delete(item_spec) ⇒ Object



48
49
50
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 48

def delete(item_spec)
  Delete.new @b, item_spec
end

#delete_label(label_name, item_spec, scope = nil) ⇒ Object



89
90
91
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 89

def delete_label(label_name, item_spec, scope=nil)
  DeleteLabel.new @b, label_name, item_spec, scope
end

#delete_profile(profile_name) {|@b| ... } ⇒ Object

Yields:

  • (@b)


115
116
117
118
119
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 115

def delete_profile(profile_name)
  @b.append " profile -delete #{@b.format profile_name}"
  yield @b if block_given?
  self
end

#delete_shelveset(shelveset_name, shelveset_owner = nil) ⇒ Object



156
157
158
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 156

def delete_shelveset(shelveset_name, shelveset_owner=nil)
  DeleteShelveset.new @b, shelveset_name, shelveset_owner
end

#delete_workspace(workspace_name, workspace_owner = nil) ⇒ Object



201
202
203
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 201

def delete_workspace(workspace_name, workspace_owner=nil)
  DeleteWorkspace.new @b, workspace_name, workspace_owner
end

#destroy(item_spec) ⇒ Object



51
52
53
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 51

def destroy(item_spec)
  Destroy.new @b, item_spec
end

#dir(item_spec) ⇒ Object



68
69
70
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 68

def dir(item_spec)
  Dir.new @b, item_spec
end

#edit_profile(existing_profile_name) ⇒ Object



120
121
122
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 120

def edit_profile(existing_profile_name)
  EditProfile.new @b, existing_profile_name
end

#eulaObject



71
72
73
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 71

def eula
  Eula.new @b
end

#get(item_spec = nil) ⇒ Object



74
75
76
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 74

def get(item_spec=nil)
  Get.new @b, item_spec
end

#getcsObject



77
78
79
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 77

def getcs
  Getcs.new @b
end

#help(command = nil) ⇒ Object



80
81
82
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 80

def help(command=nil)
  Help.new @b, command
end

#history(item_spec) ⇒ Object



83
84
85
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 83

def history(item_spec)
  History.new @b, item_spec
end

#label(label_name, item_spec, scope = nil) ⇒ Object



86
87
88
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 86

def label(label_name, item_spec, scope=nil)
  Label.new @b, label_name, item_spec, scope
end

#labels(label_name = nil) ⇒ Object



92
93
94
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 92

def labels(label_name=nil)
  Labels.new @b, label_name
end

#lock(item_spec) ⇒ Object



95
96
97
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 95

def lock(item_spec)
  Lock.new @b, item_spec
end

#map_folder(server_folder, local_folder) ⇒ Object



186
187
188
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 186

def map_folder(server_folder, local_folder)
  MapFolder.new @b, server_folder, local_folder
end

#merge(source, destination) ⇒ Object



98
99
100
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 98

def merge(source, destination)
  Merge.new @b, source, destination
end

#merges(destination, source = nil) ⇒ Object



101
102
103
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 101

def merges(destination, source=nil)
  Merges.new @b, destination, source
end

#modify_workspace(workspace_name = nil, workspace_owner = nil) ⇒ Object



204
205
206
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 204

def modify_workspace(workspace_name=nil, workspace_owner=nil)
  ModifyWorkspace.new @b, workspace_name, workspace_owner
end

#new_profile(new_profile_name) ⇒ Object



123
124
125
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 123

def new_profile(new_profile_name)
  NewProfile.new @b, new_profile_name
end


104
105
106
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 104

def print(item_spec)
  Print.new @b, item_spec
end

#product_keyObject



107
108
109
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 107

def product_key
  ProductKey.new @b
end

#profilesObject



126
127
128
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 126

def profiles
  Profiles.new @b
end

#properties(item_spec) ⇒ Object



129
130
131
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 129

def properties(item_spec)
  Properties.new @b, item_spec
end

#reconcileObject



132
133
134
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 132

def reconcile
  Reconcile.new @b
end

#reconcile_build(build_name, item_spec = nil) ⇒ Object



135
136
137
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 135

def reconcile_build(build_name, item_spec=nil)
  ReconcileBuild.new @b, build_name, item_spec
end

#reconcile_changeset(changeset_name, item_spec = nil) ⇒ Object



138
139
140
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 138

def reconcile_changeset(changeset_name, item_spec=nil)
  ReconcileChangeset.new @b, changeset_name, item_spec
end

#reconcile_forget_build(build_name, item_spec = nil) ⇒ Object



141
142
143
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 141

def reconcile_forget_build(build_name, item_spec=nil)
  ReconcileForgetBuild.new @b, build_name, item_spec
end

#remove_workspace(workspace_name) ⇒ Object



210
211
212
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 210

def remove_workspace(workspace_name)
  RemoveWorkspace.new @b, workspace_name
end

#rename(old_item, new_item) ⇒ Object



144
145
146
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 144

def rename(old_item, new_item)
  Rename.new @b, old_item, new_item
end

#replace_shelveset(shelveset_name) ⇒ Object



150
151
152
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 150

def replace_shelveset(shelveset_name)
  ReplaceShelveset.new @b, shelveset_name
end

#resolve(item_spec = nil) ⇒ Object



147
148
149
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 147

def resolve(item_spec=nil)
  Resolve.new @b, item_spec
end

#shelve(shelveset_name, item_spec) ⇒ Object



153
154
155
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 153

def shelve(shelveset_name, item_spec)
  Shelve.new @b, shelveset_name, item_spec
end

#shelvesets(shelveset_name = nil) ⇒ Object



159
160
161
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 159

def shelvesets(shelveset_name=nil)
  Shelvesets.new @b, shelveset_name
end

#show_local_folder_mapping(local_folder) ⇒ Object



177
178
179
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 177

def show_local_folder_mapping(local_folder)
  ShowLocalFolderMapping.new @b, local_folder
end

#show_server_folder_mappings(server_folder) ⇒ Object



183
184
185
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 183

def show_server_folder_mappings(server_folder)
  ShowServerFolderMappings.new @b, server_folder
end

#show_workspace_mappings(workspace_name) ⇒ Object



180
181
182
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 180

def show_workspace_mappings(workspace_name)
  ShowWorkspaceMappings.new @b, workspace_name
end

#status(item_spec) ⇒ Object



162
163
164
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 162

def status(item_spec)
  Status.new @b, item_spec
end

#undelete(item_spec, deletion_id = nil) ⇒ Object



165
166
167
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 165

def undelete(item_spec, deletion_id=nil)
  Undelete.new @b, item_spec, deletion_id
end

#undo(item_spec) ⇒ Object



168
169
170
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 168

def undo(item_spec)
  Undo.new @b, item_spec
end

#unlabel(label_name, item_spec) ⇒ Object



171
172
173
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 171

def unlabel(label_name, item_spec)
  Unlabel.new @b, label_name, item_spec
end

#unmap_folderObject



189
190
191
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 189

def unmap_folder
  UnmapFolder.new @b
end

#unshelve(shelveset_name = nil, username = nil, item_spec = nil) ⇒ Object



174
175
176
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 174

def unshelve(shelveset_name=nil, username=nil, item_spec=nil)
  Unshelve.new @b, shelveset_name, username, item_spec
end

#workspaces(workspace_name = nil) ⇒ Object



207
208
209
# File 'lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb', line 207

def workspaces(workspace_name=nil)
  Workspaces.new @b, workspace_name
end