public interface DevelopmentLine extends ManagedElement
A DevelopmentLine is a set of versions, with one from each included asset. Usually called a "Line of Development" or "codeline" in other version management systems. A Line is one of:
The current version selected from each asset is known as the head version.
There is a main branch which is not derived from any previous branch. All subsequent branches are ultimately derived from the main branch. Snapshots can include asset versions from different development lines. All workspaces must be derived from a branch or another workspace.
DevelopmentLines are created and managed by the version manager. A line has an identifier that is unique across all development lines in the version manager.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set |
getAllAssetVersions()
Find the complete set of asset versions for this
development line.
|
java.util.Set |
getAllAssetVersions(int whichOnes) |
java.util.Set |
getAllAssetVersions(int whichOnes,
atg.versionmanager.impl.VersionContainerIncludeChecker containerIncludeChecker) |
java.util.Set |
getAllAssetVersions(atg.versionmanager.impl.VersionContainerIncludeChecker containerIncludeChecker) |
int |
getAllAssetVersionsCount() |
Asset |
getAsset(VersionManagerURI id)
Look-up a asset by id, but only if it exists in
this development line.
|
java.util.Set |
getAssets()
The set of assets that this development line contains.
|
java.util.Set |
getAssets(int whichOnes) |
AssetVersion |
getAssetVersion(Asset asset)
Gets the version of the given asset that is the head for
this development line.
|
java.util.Collection |
getChildLines()
A development line can have derived (child) lines.
|
int |
getCountOfChildLines()
The number of development lines derived from this one.
|
java.util.Set |
getCurrentAssetVersions()
Find the complete set of current versions for this
development line.
|
java.util.Set |
getCurrentAssetVersions(int whichOnes) |
java.util.Set |
getCurrentAssetVersions(int whichOnes,
atg.versionmanager.impl.VersionContainerIncludeChecker containerIncludeChecker) |
java.util.Set |
getCurrentAssetVersions(atg.versionmanager.impl.VersionContainerIncludeChecker containerIncludeChecker) |
int |
getCurrentAssetVersionsCount()
The count of current versions in this layer.
|
long |
getDateCreated()
Date that the development line was created.
|
java.util.Set |
getDeletedAssetVersions()
Get all the deleted versions for this layer.
|
java.util.Set |
getDeletedAssetVersions(int whichOnes) |
java.util.Set |
getDeletedAssetVersions(int whichOnes,
atg.versionmanager.impl.VersionContainerIncludeChecker containerIncludeChecker) |
java.util.Set |
getDeletedAssetVersions(atg.versionmanager.impl.VersionContainerIncludeChecker containerIncludeChecker) |
int |
getDeletedAssetVersionsCount() |
java.lang.String |
getID()
Returns the unique ID of this development line.
|
Branch |
getParentBranch()
Returns the branch that was used as the parent when creating this
development line.
|
DevelopmentLine |
getParentLine()
Returns the development that was used as the parent when creating this
development line.
|
getDisplayName, getName, getURI, getVersionManagerstatic final java.lang.String CLASS_VERSION
java.lang.String getID()
long getDateCreated()
Branch getParentBranch() throws VersionException
VersionExceptionDevelopmentLine getParentLine() throws VersionException
VersionExceptionjava.util.Collection getChildLines()
int getCountOfChildLines()
Asset getAsset(VersionManagerURI id) throws VersionException
id - history identifierVersionExceptionjava.util.Set getAssets()
throws VersionException
VersionExceptionjava.util.Set getAssets(int whichOnes)
throws VersionException
VersionExceptionjava.util.Set getCurrentAssetVersions()
throws VersionException
VersionExceptiongetAllAssetVersions(),
getDeletedAssetVersions()java.util.Set getCurrentAssetVersions(int whichOnes)
throws VersionException
VersionExceptionjava.util.Set getCurrentAssetVersions(atg.versionmanager.impl.VersionContainerIncludeChecker containerIncludeChecker)
throws VersionException
VersionExceptionjava.util.Set getCurrentAssetVersions(int whichOnes,
atg.versionmanager.impl.VersionContainerIncludeChecker containerIncludeChecker)
throws VersionException
VersionExceptionint getCurrentAssetVersionsCount()
java.util.Set getAllAssetVersions()
throws VersionException
VersionExceptiongetCurrentAssetVersions(),
getDeletedAssetVersions()java.util.Set getAllAssetVersions(int whichOnes)
throws VersionException
VersionExceptionjava.util.Set getAllAssetVersions(atg.versionmanager.impl.VersionContainerIncludeChecker containerIncludeChecker)
throws VersionException
VersionExceptionjava.util.Set getAllAssetVersions(int whichOnes,
atg.versionmanager.impl.VersionContainerIncludeChecker containerIncludeChecker)
throws VersionException
VersionExceptionint getAllAssetVersionsCount()
AssetVersion getAssetVersion(Asset asset) throws VersionException
VersionExceptionjava.util.Set getDeletedAssetVersions()
throws VersionException
VersionExceptiongetCurrentAssetVersions(),
getAllAssetVersions()java.util.Set getDeletedAssetVersions(int whichOnes)
throws VersionException
VersionExceptionjava.util.Set getDeletedAssetVersions(atg.versionmanager.impl.VersionContainerIncludeChecker containerIncludeChecker)
throws VersionException
VersionExceptionjava.util.Set getDeletedAssetVersions(int whichOnes,
atg.versionmanager.impl.VersionContainerIncludeChecker containerIncludeChecker)
throws VersionException
VersionExceptionint getDeletedAssetVersionsCount()