nl.toolforge.karma.core.manifest
Class ReleaseManifest
java.lang.Object
nl.toolforge.karma.core.manifest.AbstractManifest
nl.toolforge.karma.core.manifest.ReleaseManifest
- All Implemented Interfaces:
- Manifest
- public final class ReleaseManifest
- extends AbstractManifest
A ReleaseManifest
is created when the Release Manager collects all stable versions of modules.
Effectively, the latest promoted version of all modules in.
- Version:
- $Id: ReleaseManifest.java,v 1.20 2004/11/10 23:53:09 asmedes Exp $
- Author:
- W.H. Schraal, D.A. Smedes
Methods inherited from class nl.toolforge.karma.core.manifest.AbstractManifest |
equals, getAllModules, getBaseDirectory, getBuildBaseDirectory, getDescription, getIncludes, getInterdependencies, getModule, getModuleBaseDirectory, getModuleInterdependencies, getModulesForManifest, getName, getReportsBaseDirectory, getState, getTempDirectory, getVersion, hashCode, isLocal, isLocal, save, setDescription, setState, setVersion, size, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ReleaseManifest
public ReleaseManifest(WorkingContext context,
ManifestStructure structure)
throws LocationException
getType
public java.lang.String getType()
- Specified by:
getType
in interface Manifest
- Specified by:
getType
in class AbstractManifest
applyWorkingContext
protected void applyWorkingContext(WorkingContext context,
Module module)
Applies the current working context to a module in this release manifest.
This method also checks if the module is available locally. If so, the module will be matched with the module
on disk to check if they are equal. This is to ensure that a changed manifest-definition is reflected on disk. If
the manifest shows another module (which is in fact determined by its location), the version on disk will be
removed.
- Specified by:
applyWorkingContext
in class AbstractManifest
- Parameters:
context
- The current WorkingContext
.module
- The module to which context
should be applied.
Copyright © 2002-2004 Toolforge. All Rights Reserved.