Package org.eclipse.mat.query
Class ContextDerivedData.DerivedOperation
java.lang.Object
org.eclipse.mat.query.ContextDerivedData.DerivedOperation
- Enclosing class:
- ContextDerivedData
A way of calculating the column values.
-
Constructor Summary
ConstructorDescriptionDerivedOperation
(String code, String label) Create a way of calculating the column. -
Method Summary
-
Constructor Details
-
DerivedOperation
Create a way of calculating the column. The code is used for XML queries to specify the operation.- Parameters:
code
- a text note of what the operation does (not translated)label
- an explanation of the operation
-
-
Method Details
-
getCode
Get the code.- Returns:
- a short name used in XML report definitions etc.
-
getLabel
Get the explanation of the operation.- Returns:
- a readable explanation
-