|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Branch
Branches comprise of a set of versions, one for each asset included in the branch.
A branch is created and managed by a version manager. A branch has an identifier that is unique across all development lines within the version manager.
Each version manager has a unique main branch that does not derive from another branch. All other branches have a "parent" branch. When a new branch is created, its contents are frozen at the current versions in the parent branch. The new branch will not automatically see any subsequent changes in the parent branch. Workspaces are derived from branches.
Changes to branches are made in workspaces that derive from the branch. Merging between branches must also be done in a workspace, when versions are merged into a working version.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
Method Summary | |
---|---|
Workspace |
merge(Workspace pWorkspace)
Generate a workspace that contains changes merged from a workspace on another branch. |
atg.versionmanager.PurgeResult |
purge(long pExpirationTime,
boolean pDryRun,
java.util.Collection pIgnorableChildBranches)
Permanently remove versions which are older than the time specified from this branch or simulate such removal if pDryRun is true. |
Workspace |
revertToWorkspace(Workspace pWorkspace)
Generate a workspace that will undo changes from another, already checked-in, workspace. |
Methods inherited from interface atg.versionmanager.ManagedElement |
---|
getDisplayName, getName, getURI, getVersionManager |
Field Detail |
---|
static final java.lang.String CLASS_VERSION
Method Detail |
---|
Workspace revertToWorkspace(Workspace pWorkspace) throws VersionException
pWorkspace
- Contains changes that we'll undo
VersionException
- thrown if problem revertingWorkspace merge(Workspace pWorkspace) throws VersionException
pWorkspace
- Contains changes to merge
VersionException
- thrown if problem mergingatg.versionmanager.PurgeResult purge(long pExpirationTime, boolean pDryRun, java.util.Collection pIgnorableChildBranches) throws VersionException
pExpirationTime
- expiration time, in number of milliseconds since
January 1, 1970, 00:00:00 GMTpDryRun
- simulate a purge to get the results without doing the actual purge.pIgnorableChildBranches
- child branches which can be ignored for the purpose of purge,
note this should be either an empty collection or null when pDryRun is false. For an
actual run child branches are not allowed to be ignored.
VersionException
- thrown if problem merging
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |