|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.TraceFinder
public final class TraceFinder
Searches for Traces across StarTeam servers.
Searches all servers in the application's Servers collection. If two server objects in the collection refer to the same underlying repository, only one of them is searched.
| Nested Class Summary | |
|---|---|
static class |
TraceFinder.Direction
Allows a set of traces to be filtered by direction. |
static class |
TraceFinder.PinType
Allows a set of traces to be filtered by revision. |
| Method Summary | |
|---|---|
void |
addListener(TraceListener listener)
Adds an application's TraceFinder.Listener. |
void |
cancel()
Cancels a running trace finder.Stops all query threads as soon as possible. |
Server[] |
getServersSearched()
Gets all the servers that the TraceFinder that were searched during the last query. |
TraceCollection |
getTraces(LinkValue value,
TraceFinder.Direction direction,
TraceFinder.PinType pin)
Gets all traces to or from the given LinkValue that meet the specified criteria. |
TraceCollection |
getTraces(java.lang.String url,
TraceFinder.Direction direction,
TraceFinder.PinType pin)
Gets all traces to or from the given endpoint that meet the specified criteria. |
TraceCollection |
getTraces(ViewMember item)
Gets all traces that reference the given revision or any historical revision of the given StarTeam item either as the source or the target. |
TraceCollection |
getTraces(ViewMember item,
TraceFinder.Direction direction,
TraceFinder.PinType pin)
Gets all traces to or from the given StarTeam item that meet the specified criteria. |
TraceCollection |
getTracesFrom(ViewMember source)
Gets all traces that reference the given revision or any historical revision of the given StarTeam item as source endpoint. |
TraceCollection |
getTracesTo(ViewMember target)
Gets all traces that referenceGets all traces that reference the given revision or any historical revision of the given StarTeam item as target endpoint. |
void |
removeListener(TraceListener listener)
Removes an application's TraceFinder.Listener. |
void |
requestTraceProperties(PropertyCollection properties)
Requests the set of properties for which the values are desired to be returned by the server command for the traces found |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void addListener(TraceListener listener)
listener - Listenerpublic void removeListener(TraceListener listener)
listener - Listenerpublic void cancel()
public Server[] getServersSearched()
public TraceCollection getTraces(ViewMember item)
item - The endpoint StarTeam item.
public TraceCollection getTracesFrom(ViewMember source)
source - The StarTeam item.
public TraceCollection getTracesTo(ViewMember target)
target - The StarTeam item.
public TraceCollection getTraces(ViewMember item,
TraceFinder.Direction direction,
TraceFinder.PinType pin)
item - The source or target endpoint.direction - Indicates whether the URL must match the source endpoint of
the trace, or the target endpoint, or may match either.pin - Indicates whether the trace must reference a specific revision
of the item, or may match any revision. Many Pin values are
supported only for LinkValues that reference StarTeam items.
public TraceCollection getTraces(LinkValue value,
TraceFinder.Direction direction,
TraceFinder.PinType pin)
value - The source or target endpoint.direction - Indicates whether the URL must match the source endpoint of
the trace, or the target endpoint, or may match either.pin - Indicates whether the trace must reference a specific revision
of the item, or may match any revision. Many Pin values are
supported only for LinkValues that reference StarTeam items.
public TraceCollection getTraces(java.lang.String url,
TraceFinder.Direction direction,
TraceFinder.PinType pin)
url - The URL of the source or target endpoint.direction - Indicates whether the URL must match the source endpoint of
the trace, or the target endpoint, or may match either.pin - Indicates whether the trace must reference a specific revision
of the item, or may match any revision. Many Pin values are
supported only for StarTeam URLs.
public void requestTraceProperties(PropertyCollection properties)
properties - - an array of trace properties
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||