Package org.eclipse.mat.query.registry
Class QueryObjectLink
- java.lang.Object
-
- org.eclipse.mat.query.registry.QueryObjectLink
-
public final class QueryObjectLink extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QueryObjectLink.Type
-
Constructor Summary
Constructors Constructor Description QueryObjectLink(QueryObjectLink.Type type, String target)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
forDetailResult(DetailResultProvider provider, String identifier)
static String
forObject(String identifier)
static String
forQuery(String query)
static String
forType(QueryObjectLink.Type type, String target)
String
getTarget()
QueryObjectLink.Type
getType()
String
getURL()
static QueryObjectLink
parse(String url)
-
-
-
Field Detail
-
PROTOCOL
public static final String PROTOCOL
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
QueryObjectLink
public QueryObjectLink(QueryObjectLink.Type type, String target)
-
-
Method Detail
-
getType
public QueryObjectLink.Type getType()
-
getTarget
public String getTarget()
-
getURL
public String getURL()
-
forDetailResult
public static final String forDetailResult(DetailResultProvider provider, String identifier)
-
forType
public static final String forType(QueryObjectLink.Type type, String target)
-
parse
public static QueryObjectLink parse(String url)
- Parameters:
url
- The String representation of a Memory Analyzer URL, starting mat://- Returns:
- null if the URL does not present a proper Memory Analyzer Object otherwise an internal MAT representation of the URL.
-
-