|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.LinkValue.WebCacheLinkValue
public static final class LinkValue.WebCacheLinkValue
The value of a Link Property
| Method Summary | |
|---|---|
static LinkValue.WebCacheLinkValue |
create(ArtifactCacheManager.Context cntxt,
java.lang.String url,
java.lang.String description)
Creates a WebCacheLinkValue for the given URL. |
boolean |
equals(java.lang.Object o)
Test this object for equality with another |
java.lang.String |
getDescription()
Gets a description of the linked item. |
DotNotation |
getDotNotation()
Attempts to extract version information in the form of a DotNotation from this LinkValue. |
int |
getID()
Gets the VMID of the linked item. |
static LinkValue.WebCacheLinkValue[] |
getTargets(LinkValue.WebCacheLinkValue[] sources)
Returns the set of target Link Values reachable from the specified set of sources Each source that represents a ChangePackage is considered, the returned link values represent the Target Items of the Changes Each source that represents a ProcessTask is also considered, the returned link values represent the Target Items of the Links |
DateTime |
getTimeStamp()
Gets the revision timestamp associated with this LinkValue. |
ViewMember.Type.WebCacheViewMemberType |
getType()
Returns the Type of the link value for internal links |
java.lang.String |
getURL()
Gets a URL that refers to the linked item. |
java.lang.String |
getVersion()
Attempts to extract version information from the VersionID of this LinkValue. |
java.lang.String |
getVersionID()
Gets the VersionID of this LinkValue, in raw form. |
View.WebCacheView |
getView()
Return the view targeted by the StarTeam Item represented by this link value or NULL for external links Useful for applications that may not have cached items of this type in this view but need to do so using delayed caching or discovery based caching models |
int |
hashCode()
Return a hash code for this object |
boolean |
isFloating()
returns true if this LinkValue is floating w.r.t its Trace |
boolean |
isInternalLink()
Determines whether or not this LinkValue is an internal reference to a StarTeam view member on the same server. |
boolean |
isInternalTo(Project.WebCacheProject project)
Determines whether or not this is an internal link to a StarTeam item in the same project as the given one. |
boolean |
isInternalTo(View.WebCacheView view)
Determines whether or not this is an internal link to a StarTeam item in the same view as the given one. |
boolean |
isPinned()
returns true if this LinkValue is pinned to its Trace |
boolean |
isStarTeamLink()
Determines whether or not this LinkValue references a StarTeam view member. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static LinkValue.WebCacheLinkValue create(ArtifactCacheManager.Context cntxt,
java.lang.String url,
java.lang.String description)
cntxt - the context of the operationurl - String the URL to the resourcedescription - String a user friendly description
public java.lang.String getDescription()
public boolean isInternalLink()
public int getID()
public boolean isStarTeamLink()
public boolean isInternalTo(View.WebCacheView view)
view - the View to test
LinkValue.WebCacheLinkValue.isInternalLink(),
LinkValue.isInternalTo(Project)public boolean isInternalTo(Project.WebCacheProject project)
project - the Project to test
LinkValue.WebCacheLinkValue.isInternalLink(),
LinkValue.isInternalTo(View)public java.lang.String getURL()
public View.WebCacheView getView()
public DateTime getTimeStamp()
public boolean isPinned()
public boolean isFloating()
public java.lang.String getVersionID()
LinkValue.WebCacheLinkValue.getVersion(),
LinkValue.WebCacheLinkValue.getDotNotation()public java.lang.String getVersion()
This method assumes that the VersionID is formatted as a set of attribute value pairs, as would appear in a URI; for example, "?v=10". This method generally returns the first value, although special provision if made for StarTeam LinkValues that contain a DotNotation of the form "?dot=1.0".
LinkValue.WebCacheLinkValue.getVersionID(),
LinkValue.WebCacheLinkValue.getDotNotation()public ViewMember.Type.WebCacheViewMemberType getType()
public static LinkValue.WebCacheLinkValue[] getTargets(LinkValue.WebCacheLinkValue[] sources)
public DotNotation getDotNotation()
LinkValue.WebCacheLinkValue.getVersion(),
LinkValue.WebCacheLinkValue.getVersionID()public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - the object to test againstpublic int hashCode()
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||