nl.toolforge.karma.core.vc
Interface ModuleStatus
- All Superinterfaces:
- RunnerResult
- All Known Implementing Classes:
- CVSModuleStatus
- public interface ModuleStatus
- extends RunnerResult
Each module exists on a number of places. Virtually, they appear as a Module
instance in Karma. The
status of a module at any given point in time is determined by a number of variables:
Latest remote version; this is the latest version of the module in the version control system as determined
by the PromoteCommand
command. The version is relative to the development line for the module
(which could be a patch line for STATIC
modules in a ReleaseManifest
.
The local version; this is the version of the locally checked out module. For CVS, this is the so-called
sticky-tag.
The next version of the module; this is the version when the module will be promoted again.
The manifest version of the module; this is the version as specified in the <version>-attribute of a
module in the manifest.
Existence of a module in a version control repository; one can specify a module in a manifest with a certain
location, but if the module doesn't exist in the version control repository (as identified by that location),
Karma needs to know that.
This class contains the full status of a module, as specified by the above variables.
- Version:
- $Id: ModuleStatus.java,v 1.8 2004/11/16 22:31:57 asmedes Exp $
- Author:
- D.A. Smedes
getNextVersion
public Version getNextVersion()
getNextMajorVersion
public Version getNextMajorVersion()
getLastVersion
public Version getLastVersion()
getLocalVersion
public Version getLocalVersion()
throws VersionControlException
- Throws:
VersionControlException
setLogInformation
public void setLogInformation(java.lang.Object logInfo)
setExistsInRepository
public void setExistsInRepository(boolean exists)
existsInRepository
public boolean existsInRepository()
connectionFailure
public boolean connectionFailure()
authenticationFailure
public boolean authenticationFailure()
internalError
public boolean internalError()
Copyright © 2002-2004 Toolforge. All Rights Reserved.