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, getVersionManager
static final java.lang.String CLASS_VERSION
java.lang.String getID()
long getDateCreated()
Branch getParentBranch() throws VersionException
VersionException
DevelopmentLine getParentLine() throws VersionException
VersionException
java.util.Collection getChildLines()
int getCountOfChildLines()
Asset getAsset(VersionManagerURI id) throws VersionException
id
- history identifierVersionException
java.util.Set getAssets() throws VersionException
VersionException
java.util.Set getAssets(int whichOnes) throws VersionException
VersionException
java.util.Set getCurrentAssetVersions() throws VersionException
VersionException
getAllAssetVersions()
,
getDeletedAssetVersions()
java.util.Set getCurrentAssetVersions(int whichOnes) throws VersionException
VersionException
java.util.Set getCurrentAssetVersions(atg.versionmanager.impl.VersionContainerIncludeChecker containerIncludeChecker) throws VersionException
VersionException
java.util.Set getCurrentAssetVersions(int whichOnes, atg.versionmanager.impl.VersionContainerIncludeChecker containerIncludeChecker) throws VersionException
VersionException
int getCurrentAssetVersionsCount()
java.util.Set getAllAssetVersions() throws VersionException
VersionException
getCurrentAssetVersions()
,
getDeletedAssetVersions()
java.util.Set getAllAssetVersions(int whichOnes) throws VersionException
VersionException
java.util.Set getAllAssetVersions(atg.versionmanager.impl.VersionContainerIncludeChecker containerIncludeChecker) throws VersionException
VersionException
java.util.Set getAllAssetVersions(int whichOnes, atg.versionmanager.impl.VersionContainerIncludeChecker containerIncludeChecker) throws VersionException
VersionException
int getAllAssetVersionsCount()
AssetVersion getAssetVersion(Asset asset) throws VersionException
VersionException
java.util.Set getDeletedAssetVersions() throws VersionException
VersionException
getCurrentAssetVersions()
,
getAllAssetVersions()
java.util.Set getDeletedAssetVersions(int whichOnes) throws VersionException
VersionException
java.util.Set getDeletedAssetVersions(atg.versionmanager.impl.VersionContainerIncludeChecker containerIncludeChecker) throws VersionException
VersionException
java.util.Set getDeletedAssetVersions(int whichOnes, atg.versionmanager.impl.VersionContainerIncludeChecker containerIncludeChecker) throws VersionException
VersionException
int getDeletedAssetVersionsCount()