public class CvsVersion extends AbstractCvsTask
AbstractCvsTask.Module
DEFAULT_COMPRESSION_LEVEL
description, location, project
Constructor and Description |
---|
CvsVersion() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
the execute method running CvsVersion
|
java.lang.String |
getClientVersion()
Get the CVS client version
|
java.lang.String |
getServerVersion()
Get the CVS server version
|
void |
setClientVersionProperty(java.lang.String clientVersionProperty)
Set a property where to store the CVS client version
|
void |
setServerVersionProperty(java.lang.String serverVersionProperty)
Set a property where to store the CVS server version
|
boolean |
supportsCvsLogWithSOption()
Find out if the server version supports log with S option
|
addCommandArgument, addCommandArgument, addConfiguredCommandline, addConfiguredCommandline, addModule, configureCommandline, getCommand, getCvsRoot, getCvsRsh, getDest, getErrorStream, getExecuteStreamHandler, getModules, getOutputStream, getPackage, getPassFile, getPort, getTag, removeCommandline, runCommand, setAppend, setCommand, setCompression, setCompressionLevel, setCvsRoot, setCvsRsh, setDate, setDest, setError, setErrorStream, setExecuteStreamHandler, setFailOnError, setNoexec, setOutput, setOutputStream, setPackage, setPassfile, setPort, setQuiet, setReallyquiet, setTag
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
public java.lang.String getClientVersion()
public java.lang.String getServerVersion()
public void setClientVersionProperty(java.lang.String clientVersionProperty)
clientVersionProperty
- property for CVS client versionpublic void setServerVersionProperty(java.lang.String serverVersionProperty)
serverVersionProperty
- property for CVS server versionpublic boolean supportsCvsLogWithSOption()
public void execute()
execute
in class AbstractCvsTask