|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.toolforge.karma.core.vc.cvsimpl.CVSModuleStatus
Constructor Summary | |
CVSModuleStatus(Module module)
|
|
CVSModuleStatus(Module module,
org.netbeans.lib.cvsclient.command.log.LogInformation logInfo)
Creates a ModuleStatus instance with the LogInformation object that was generated by the cvs log
command. |
Method Summary | |
boolean |
authenticationFailure()
|
boolean |
connectionFailure()
|
boolean |
existsInRepository()
|
Version |
getLastVersion()
The latest promoted version of the module in the version control system for the branch. |
Version |
getLocalVersion()
Gets the local version of the module, which is determined by parsing the CVS/Entries file. |
Version |
getNextMajorVersion()
|
Version |
getNextVersion()
Returns a Version instance representing the next possible version (major or patch) for the module. |
boolean |
internalError()
|
void |
setAuthenticationFailure()
|
void |
setConnnectionFailure()
Sets the indication that a connection failure to the remote CVS repository has occurred. |
void |
setExistsInRepository(boolean exists)
|
void |
setInternalError()
|
void |
setLogInformation(java.lang.Object logInfo)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CVSModuleStatus(Module module, org.netbeans.lib.cvsclient.command.log.LogInformation logInfo)
cvs log
command.
module
- The module.logInfo
- A Netbeans LogInformation object.public CVSModuleStatus(Module module)
Method Detail |
public void setLogInformation(java.lang.Object logInfo)
setLogInformation
in interface ModuleStatus
public Version getNextVersion()
getNextVersion
in interface ModuleStatus
public Version getNextMajorVersion()
getNextMajorVersion
in interface ModuleStatus
public Version getLastVersion()
getLastVersion
in interface ModuleStatus
public Version getLocalVersion() throws CVSException
CVS/Entries
file.
getLocalVersion
in interface ModuleStatus
null
when the HEAD of the developmentline is local.
CVSException
public void setExistsInRepository(boolean exists)
setExistsInRepository
in interface ModuleStatus
public boolean existsInRepository()
existsInRepository
in interface ModuleStatus
public boolean connectionFailure()
connectionFailure
in interface ModuleStatus
public boolean authenticationFailure()
authenticationFailure
in interface ModuleStatus
public boolean internalError()
internalError
in interface ModuleStatus
public void setConnnectionFailure()
public void setAuthenticationFailure()
public void setInternalError()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |