Summary
Locks ClearCase elements.
- Assembly
- NAnt
.Contrib .dll - Namespace
- NAnt
.Contrib .Tasks .ClearCase - Base Types
-
- Core
.Tasks .ExternalProgramBase - ClearCaseBase
- Core
graph BT
Type-->Base0["ClearCaseBase"]
click Base0 "/api/NAnt.Contrib.Tasks.ClearCase/ClearCaseBase"
Base0-->Base1["Core.Tasks.ExternalProgramBase"]
Type["ClearCaseLock"]
class Type type-node
Syntax
[TaskName("cclock")]
public class ClearCaseLock : ClearCaseBase
Examples
Performs a ClearCase lock on the object stream:Application_Integration@\MyProject_PVOB
.
<cclock objsel="stream:Application_Integration@\MyProject_PVOB" />
Remarks
This task uses the cleartool lock
command to lock ClearCase elements.
Attributes
Type | Description |
---|---|
TaskName |
Properties
Name | Value | Summary |
---|---|---|
Command |
string |
This is an override used by the base class to get command specific args.
|
Comment | string |
Specify a comment. Only one of
NAnt.Contrib.Tasks.ClearCase.ClearCaseLock.Comment or
NAnt.Contrib.Tasks.ClearCase.ClearCaseLock.CommentFile may be used.
|
CommentFile | FileInfo |
Specify a file containing a comment. Only one of
NAnt.Contrib.Tasks.ClearCase.ClearCaseLock.Comment
or NAnt.Contrib.Tasks.ClearCase.ClearCaseLock.CommentFile may be used.
|
Nusers | string |
Specifies user(s) who can still modify the object.
Only one of
NAnt.Contrib.Tasks.ClearCase.ClearCaseLock.Nusers or NAnt.Contrib.Tasks.ClearCase.ClearCaseLock.Obsolete may be
used.
|
ObjSel | string |
Specifies the object(s) to be locked.
|
Obsolete | bool |
If
true the object will be marked obsolete.
Only one of NAnt.Contrib.Tasks.ClearCase.ClearCaseLock.Nusers or NAnt.Contrib.Tasks.ClearCase.ClearCaseLock.Obsolete may
be used. Default is false .
|
Pname | string |
Specifies the object pathname to be locked.
|
ProgramArguments | string |
Overrides the base class.
Inherited from ClearCaseBase
|
Replace | bool |
If
true an existing lock can be replaced.
Default is false .
|
Methods
Name | Value | Summary |
---|---|---|
ExecuteTask |
void |
Execute the perforce command assembled by subclasses.
Inherited from ClearCaseBase
|
See Also
- NAnt.Contrib.Tasks.ClearCase.ClearCaseUnLock