|
OpenAPI 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AQVersionControl
This interface provides version control functionality to aquascripts.
An object implementing this interface is available to aquascript via aqua.vcs alias.
Method Summary | |
---|---|
AQWorkspace |
checkoutCVS(String folder,
String url,
String module,
String revision,
Object username,
Object password,
boolean verbose)
Checks out a CVS module to the local filesystem. |
AQWorkspace |
checkoutSubversion(String folder,
String url,
String revision,
Object username,
Object password,
boolean verbose)
Checks out a Subversion module to the local filesystem. |
void |
commit(String path,
String comment,
Object username,
Object password)
A convenience method which performs a version control commit of a specified file or folder in the local file system. |
AQWorkspace |
getWorkspaceSubversion(String path)
Returns the parent workspace of the specified file. |
AQGit |
newGit()
Returns an unconnected GIT object. |
AQPerforce |
newPerforce()
Returns an unconnected Perforce object. |
AQWorkspace |
newWorkspaceCVS()
Returns a CVS workspace object for the purpose of checking out a working copy. |
AQWorkspace |
newWorkspaceSubversion()
Returns a Subversion workspace object for the purpose of checking out a working copy. |
void |
update(String path,
Object username,
Object password)
A convenience method which performs a version control update to the latest (HEAD) revision of the specified file or folder on the local file system. |
Method Detail |
---|
AQWorkspace newWorkspaceSubversion()
AQWorkspace newWorkspaceCVS()
AQPerforce newPerforce()
AQGit newGit()
void commit(String path, String comment, Object username, Object password) throws Exception
path
- Full path in the local file system.comment
- Commit comment.username
- A String
or a AQOpaqueObject
containing the user name.password
- A String
password or a AQOpaqueObject
containing the password.
Exception
void update(String path, Object username, Object password) throws Exception
path
- Full path in the local file system.username
- A String
or a AQOpaqueObject
containing the user name.password
- A String
password or a AQOpaqueObject
containing the password.
Exception
AQWorkspace getWorkspaceSubversion(String path) throws Exception
path
- Full path in the local file system.
Exception
- if the file is not under version control.AQWorkspace checkoutCVS(String folder, String url, String module, String revision, Object username, Object password, boolean verbose) throws Exception
folder
- Destination folder on the local filesystem.url
- Remote URL. Remote URL is of the form :pserver:<hostname>:/<repository>module
- CVS module (directory).revision
- Revision number or a tag. A null
is equivalent to HEAD revision.username
- A String
or a AQOpaqueObject
containing the user name.password
- A String
password or a AQOpaqueObject
containing the password.verbose
- When true, the output of checkout operation will be sent to the console.
Exception
AQWorkspace checkoutSubversion(String folder, String url, String revision, Object username, Object password, boolean verbose) throws Exception
folder
- Destination folder on the local filesystem.url
- Remote URL.revision
- Revision number or a tag. A null
is equivalent to HEAD revision.username
- A String
or a AQOpaqueObject
containing the user name.password
- A String
password or a AQOpaqueObject
containing the password.verbose
- When true, the output of checkout operation will be sent to the console.
Exception
|
OpenAPI 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |