Package wt.trace

Class TraceUtils

java.lang.Object
wt.trace.TraceUtils

public class TraceUtils extends Object
This is utility class with supported APIs

Supported API: true

Extendable: false
  • Method Details

    • getTraceToResource

      public static final ObjectReference getTraceToResource(String uri) throws WTException
      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

      public static final WTSet getTraceToResource(List<String> uriList) throws WTException
      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