|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.gate.versioning.cmdline.AbstractRepository
java.gate.versioning.cmdline.CvsRepository
class CvsRepository extends AbstractRepository
CVS repository implementation. The public API of this class is documented on the Repository interface.
Field Summary |
---|
Fields inherited from class AbstractRepository | |
---|---|
DEBUG, commandOutput, nl, root, stderrOutput, stdoutOutput, workingDir |
Constructor Summary | |
CvsRepository()
|
Method Summary | |
---|---|
boolean
|
create(String dirName)
Create a new repository filetree (i.e. not a new object but a new database/filesystem on disk). |
boolean
|
exists(String moduleName)
Check for the existence of a module (i.e. top-level directory). |
String
|
getCommandName()
Returns "cvs". |
protected List
|
getPostCommand(String fileName, boolean noRoot)
Get the post-subcommand elements of the command (e.g. root). |
protected List
|
getPreCommand()
Get the pre-subcommand elements of the command (e.g. |
boolean
|
importDir(String dirName)
Import a directory. |
boolean
|
isModified(String fileName)
Use the repository's status command to figure out if the file has been locally modified. |
boolean
|
isOutOfDate(String fileName)
Use the repository's status command to figure out if the file is out-of-date. |
boolean
|
isUnknown(String fileName)
Use the repository's status command to figure out if the file is unknown. |
Methods inherited from class AbstractRepository | |
---|---|
add, buildCommandArray, buildCommandArray, checkin, checkin, checkout, delete, diff, getCommandName, getCommandOutput, getCommandStderr, getCommandStdout, getPostCommand, getPreCommand, getRepository, getRoot, init, runCommand, runCommand, setRoot, setWorkingDir, status, update |
Constructor Detail |
---|
CvsRepository()
Method Detail |
---|
public boolean create(String dirName)
public boolean exists(String moduleName)
public String getCommandName()
protected List getPostCommand(String fileName, boolean noRoot)
protected List getPreCommand()
public boolean importDir(String dirName)
public boolean isModified(String fileName)
public boolean isOutOfDate(String fileName)
public boolean isUnknown(String fileName)
Groovy Documentation