public static class Change.WebCacheChange extends LiveObject.WebCacheLiveObject implements Change.ScmChangeAtom
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAfterDisplayPath()
Human-readable label for the right-hand file content's pathname
|
java.lang.String |
getAfterDisplayRevision()
Human-readable label for the right-hand file content's revision
|
java.lang.String |
getAfterIdentifier()
Unique identifier for retrieving the right-hand file content
|
Change.ChangeAtomType |
getAtomType()
the type of the Change Atom
|
java.lang.String |
getBeforeDisplayPath()
Human-readable label for the left-hand file content's pathname
|
java.lang.String |
getBeforeDisplayRevision()
Human-readable label for the left-hand file content's revision
|
java.lang.String |
getBeforeIdentifier()
Unique identifier for retrieving the left-hand file content
|
ChangePackage.WebCacheChangePackage |
getChangePackage()
Gets the ChangePackage that contains this Change object.
|
Change.ChangeType |
getChangeType()
Gets a value representing the type of change.
|
Change.CommitAction |
getCommitAction()
Gets a value representing the action that was performed to commit
this change.
|
java.lang.String |
getDescription()
Gets a user-friendly description of this Change object.
|
Item.Type.WebCacheItemType |
getItemType()
Gets the type of the source and/or target item.
|
Item.WebCacheItem |
getSourceItem()
Gets the source endpoint of this change or NULL if the endpoint
item is not cached in this ArtifactCache.
|
LinkValue.WebCacheLinkValue |
getSourceLink()
Gets this Change object's source, as a LinkValue.
|
DotNotation |
getSourceVersion()
Gets the version number of the source item.
|
Item.WebCacheItem |
getTargetItem()
Gets the target endpoint of this change or NULL if the target
item is not cached in this ArtifactCache
Note that getTargetLink() may return a non-null Link value, but
getTargetItem() may still return null.
|
LinkValue.WebCacheLinkValue |
getTargetLink()
Gets this Change object's target, as a LinkValue.
|
DotNotation |
getTargetVersion()
Gets the version number of the target item.
|
Trace.WebCacheTrace[] |
getTraces()
Given a ViewMember in this artifact cache, resolve it to a set of
locally cached Traces.
|
View.WebCacheView |
getView()
Gets the view that contains this Change object and the associated
ChangePackage.
|
boolean |
isDirectory()
If there is no file content change to retrieve, this will be true.
|
boolean |
isEnabled()
Returns true if this change is enabled
|
void |
setEnabled(boolean enabled)
mark this change as enabled or disabled Disabled Changes will not
report their attached links as resolveable members of the
ChangePackage or associated Process Item.
|
addTo, equals, getContext, getCreatedBy, getCreatedTime, getDisplayName, getID, getName, getNameProperty, getObjectID, getServer, getType, getValue, getValue, hashCode, hasValue, isDirty, isNew, refresh, remove, removeFrom, setValue, setValue, toStarTeamURL, update
public ChangePackage.WebCacheChangePackage getChangePackage()
public Trace.WebCacheTrace[] getTraces()
public Change.ChangeType getChangeType()
public Change.CommitAction getCommitAction()
public java.lang.String getDescription()
public Item.Type.WebCacheItemType getItemType()
public Item.WebCacheItem getSourceItem()
public LinkValue.WebCacheLinkValue getSourceLink()
public Item.WebCacheItem getTargetItem()
public LinkValue.WebCacheLinkValue getTargetLink()
public View.WebCacheView getView()
public DotNotation getSourceVersion()
public DotNotation getTargetVersion()
public boolean isEnabled()
public void setEnabled(boolean enabled)
enabled
- true to enable the change, false otherwisepublic java.lang.String getAfterDisplayPath()
getAfterDisplayPath
in interface Change.ScmChangeAtom
public java.lang.String getAfterDisplayRevision()
getAfterDisplayRevision
in interface Change.ScmChangeAtom
public java.lang.String getAfterIdentifier()
getAfterIdentifier
in interface Change.ScmChangeAtom
public java.lang.String getBeforeDisplayPath()
getBeforeDisplayPath
in interface Change.ScmChangeAtom
public java.lang.String getBeforeDisplayRevision()
getBeforeDisplayRevision
in interface Change.ScmChangeAtom
public java.lang.String getBeforeIdentifier()
getBeforeIdentifier
in interface Change.ScmChangeAtom
public Change.ChangeAtomType getAtomType()
getAtomType
in interface Change.ScmChangeAtom
public boolean isDirectory()
isDirectory
in interface Change.ScmChangeAtom
StarTeam SDK 17.0, Build 34
Copyright © 2019 Micro Focus or one of its affiliates. All rights reserved.