|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.mat.report.Spec
org.eclipse.mat.report.QuerySpec
public class QuerySpec
A container for a result of a query. Allows a link for a command to be executed from the report.
Constructor Summary | |
---|---|
QuerySpec()
Create a QuerySpec with no title |
|
QuerySpec(String name)
Create a QuerySpec with a title. |
|
QuerySpec(String name,
IResult result)
Create a QuerySpec with a title and a result of executing a query. |
Method Summary | |
---|---|
String |
getCommand()
Get the command to be executed by Memory Analyzer when the user clicks on a link in the report. |
IResult |
getResult()
Gets the body of this section which is the result of a query. |
void |
merge(Spec other)
Merge with another Spec. |
void |
setCommand(String query)
Sets a Memory Analyzer command to be executed when the user clicks on an icon in the report. |
void |
setResult(IResult result)
Sets the body of this section to the result of a query. |
Methods inherited from class org.eclipse.mat.report.Spec |
---|
getName, getParams, getResultMetaData, getTemplate, putAll, set, setName, setTemplate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QuerySpec()
public QuerySpec(String name)
name
- public QuerySpec(String name, IResult result)
name
- result
- Method Detail |
---|
public String getCommand()
public void setCommand(String query)
query
- public IResult getResult()
public void setResult(IResult result)
result
- public void merge(Spec other)
Spec
merge
in class Spec
other
- the other Spec
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |