Package wt.trace
Class TraceUtils
java.lang.Object
wt.trace.TraceUtils
This is utility class with supported APIs
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionstatic final ObjectReferencegetTraceToResource(String uri) Method to return ObjectReference of TracedTo resource if it exist for given URIstatic final WTSetgetTraceToResource(List<String> uriList) Method to return ObjectReferences of the TracedTo resources for URIs provided in the parameter list.
-
Method Details
-
getTraceToResource
Method to return ObjectReference of TracedTo resource if it exist for given URI- Parameters:
uri-- Returns:
- ObjectReference to TracedTo resource or null if object does not exist
- Throws:
WTException- Supported API: true
-
getTraceToResource
Method to return ObjectReferences of the TracedTo resources for URIs provided in the parameter list.- Parameters:
uriList-- Returns:
- WTSet of ObjectReferences for valid URIs in the list. If no valid ObjectReference is found for the given collection of URIs then it returns empty Set.
- Throws:
WTException- Supported API: true
-