Package org.openjdk.jmc.agent
Interface Convertable
-
- All Known Subinterfaces:
Attribute
- All Known Implementing Classes:
AbstractConvertable
,Field
,Parameter
,ResolvedConvertable
,ReturnValue
public interface Convertable
Interface for something that can use a converter to translate a value.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.String
getConverterDefinition()
The class name of the converter to use.default boolean
hasConverter()
-
-
-
Method Detail
-
hasConverter
default boolean hasConverter()
- Returns:
- true if this is convertable, false otherwise.
-
getConverterDefinition
java.lang.String getConverterDefinition()
The class name of the converter to use.- Returns:
- the class name of the converter to use, or null, if no converter should be used.
-
-