public interface AQVersionControl
An object implementing this interface is available to aquascript via aqua.vcs alias.
Modifier and Type | Method and Description |
---|---|
AQWorkspace |
checkoutCVS(java.lang.String folder,
java.lang.String url,
java.lang.String module,
java.lang.String revision,
java.lang.Object username,
java.lang.Object password,
boolean verbose)
Checks out a CVS module to the local filesystem.
|
AQWorkspace |
checkoutSubversion(java.lang.String folder,
java.lang.String url,
java.lang.String revision,
java.lang.Object username,
java.lang.Object password,
boolean verbose)
Checks out a Subversion module to the local filesystem.
|
void |
commit(java.lang.String path,
java.lang.String comment,
java.lang.Object username,
java.lang.Object password)
A convenience method which performs a version control commit of a specified file or folder
in the local file system.
|
AQWorkspace |
getWorkspaceSubversion(java.lang.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(java.lang.String path,
java.lang.Object username,
java.lang.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.
|
AQWorkspace newWorkspaceSubversion()
AQWorkspace newWorkspaceCVS()
AQPerforce newPerforce()
AQGit newGit()
void commit(java.lang.String path, java.lang.String comment, java.lang.Object username, java.lang.Object password) throws java.lang.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.java.lang.Exception
- On errorvoid update(java.lang.String path, java.lang.Object username, java.lang.Object password) throws java.lang.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.java.lang.Exception
- On errorAQWorkspace getWorkspaceSubversion(java.lang.String path) throws java.lang.Exception
path
- Full path in the local file system.java.lang.Exception
- On errorAQWorkspace checkoutCVS(java.lang.String folder, java.lang.String url, java.lang.String module, java.lang.String revision, java.lang.Object username, java.lang.Object password, boolean verbose) throws java.lang.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.java.lang.Exception
- On errorAQWorkspace checkoutSubversion(java.lang.String folder, java.lang.String url, java.lang.String revision, java.lang.Object username, java.lang.Object password, boolean verbose) throws java.lang.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.java.lang.Exception
- On error
Copyright © 2017 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.