public interface Snapshot extends DevelopmentLine
Snapshots are development lines. A snapshot may be created from another snapshot. A snapshot cannot be created from a workspace since the assets in the workspace may still be changed.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION |
| Modifier and Type | Method and Description |
|---|---|
SnapshotDiff |
createSnapshotDiff(Snapshot otherSnapshot)
Compare the two Snapshots and return the differences
|
SnapshotDiff |
createSnapshotDiff(Snapshot baseline2,
atg.versionmanager.impl.VersionContainerIncludeChecker containerIncludeChecker)
Create a diff using the supplied VersionContainerIncludeChecker to exclude
certain containers from the diff.
|
AssetVersion |
getVersionRenamed(AssetVersion pVersion)
Check a version of a file asset has a different name then the version
of the asset in this snapshot.
|
getAllAssetVersions, getAllAssetVersions, getAllAssetVersions, getAllAssetVersions, getAllAssetVersionsCount, getAsset, getAssets, getAssets, getAssetVersion, getChildLines, getCountOfChildLines, getCurrentAssetVersions, getCurrentAssetVersions, getCurrentAssetVersions, getCurrentAssetVersions, getCurrentAssetVersionsCount, getDateCreated, getDeletedAssetVersions, getDeletedAssetVersions, getDeletedAssetVersions, getDeletedAssetVersions, getDeletedAssetVersionsCount, getID, getParentBranch, getParentLinegetDisplayName, getName, getURI, getVersionManagerstatic final java.lang.String CLASS_VERSION
SnapshotDiff createSnapshotDiff(Snapshot otherSnapshot) throws VersionException
otherBaseline - the baseline to diff this one against.VersionExceptionSnapshotDiffSnapshotDiff createSnapshotDiff(Snapshot baseline2, atg.versionmanager.impl.VersionContainerIncludeChecker containerIncludeChecker) throws VersionException
baseline2 - containerIncludeChecker - VersionExceptionAssetVersion getVersionRenamed(AssetVersion pVersion) throws VersionException
pVersion - AssetVersion representing the later version of the asset.VersionException - thrown if (1) this snapshot doesn't contain a
version of the asset or (3) this is not a file asset.