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.



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

def initialize(underlying_builder)
  super underlying_builder
end

Instance Method Details

#add(item_spec) ⇒ Object



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

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

#branch(old_item, new_item) ⇒ Object



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

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

#branches(item_spec) ⇒ Object



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

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

#changeset(changeset_number = nil) ⇒ Object



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

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

#checkin(item_spec = nil) ⇒ Object



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

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

#checkin_shelveset(shelveset_name, shelveset_owner = nil) ⇒ Object



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

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

#checkout(item_spec = nil) ⇒ Object



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

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

#cloak_folder(server_folder) ⇒ Object



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

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

#compare(item_spec, item_spec2) ⇒ Object



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

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

#compare_with_current_workspace_version(item_spec) ⇒ Object



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

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

#compare_with_shelveset_version(shelveset_item_spec) ⇒ Object



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

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

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

Yields:

  • (@b)


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

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)


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

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



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

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

#decloak_folder(server_folder) ⇒ Object



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

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

#delete(item_spec) ⇒ Object



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

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

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



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

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)


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

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



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

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

#delete_workspace(workspace_name, workspace_owner = nil) ⇒ Object



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

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

#destroy(item_spec) ⇒ Object



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

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

#dir(item_spec) ⇒ Object



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

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

#edit_profile(existing_profile_name) ⇒ Object



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

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

#eulaObject



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

def eula
  Eula.new @b
end

#get(item_spec = nil) ⇒ Object



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

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

#getcsObject



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

def getcs
  Getcs.new @b
end

#help(command = nil) ⇒ Object



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

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

#history(item_spec) ⇒ Object



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

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

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



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

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

#labels(label_name = nil) ⇒ Object



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

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

#lock(item_spec) ⇒ Object



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

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

#map_folder(server_folder, local_folder) ⇒ Object



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

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

#merge(source, destination) ⇒ Object



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

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

#merges(destination, source = nil) ⇒ Object



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

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

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



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

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

#new_profile(new_profile_name) ⇒ Object



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

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


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

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

#product_keyObject



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

def product_key
  ProductKey.new @b
end

#profilesObject



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

def profiles
  Profiles.new @b
end

#properties(item_spec) ⇒ Object



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

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

#reconcileObject



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

def reconcile
  Reconcile.new @b
end

#reconcile_build(build_name, item_spec = nil) ⇒ Object



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

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

#reconcile_changeset(changeset_name, item_spec = nil) ⇒ Object



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

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



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

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

#remove_workspace(workspace_name) ⇒ Object



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

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

#rename(old_item, new_item) ⇒ Object



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

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

#replace_shelveset(shelveset_name) ⇒ Object



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

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

#resolve(item_spec = nil) ⇒ Object



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

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

#shelve(shelveset_name, item_spec) ⇒ Object



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

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

#shelvesets(shelveset_name = nil) ⇒ Object



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

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

#show_local_folder_mapping(local_folder) ⇒ Object



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

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

#show_server_folder_mappings(server_folder) ⇒ Object



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

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

#show_workspace_mappings(workspace_name) ⇒ Object



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

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

#status(item_spec) ⇒ Object



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

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

#undelete(item_spec, deletion_id = nil) ⇒ Object



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

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

#undo(item_spec) ⇒ Object



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

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

#unlabel(label_name, item_spec) ⇒ Object



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

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

#unmap_folderObject



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

def unmap_folder
  UnmapFolder.new @b
end

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



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

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

#workspaces(workspace_name = nil) ⇒ Object



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

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