org.snmp4j.agent.mo.jmx.types
Interface TransformType
- All Known Implementing Classes:
- Boolean2IntegerType, BooleanBitsType, CombinedBitsType, CombinedTypedAttribute, EnumBitsType, EnumStringType, InverseBooleanType, MBeanProxyType, SplitStringType, TypedAttribute, TypedCompositeDataAttribute
public interface TransformType
|
Method Summary |
boolean |
isNativeValueAlwaysNeeded()
Indicates whether a caller of a "toNative" transformation needs to provide
the old native value in order to get a successful transformation. |
java.lang.Object |
transformFromNative(java.lang.Object nativeValue,
javax.management.ObjectName objectName)
|
java.lang.Object |
transformToNative(java.lang.Object transformedValue,
java.lang.Object oldNativeValue,
javax.management.ObjectName objectName)
|
transformFromNative
java.lang.Object transformFromNative(java.lang.Object nativeValue,
javax.management.ObjectName objectName)
transformToNative
java.lang.Object transformToNative(java.lang.Object transformedValue,
java.lang.Object oldNativeValue,
javax.management.ObjectName objectName)
isNativeValueAlwaysNeeded
boolean isNativeValueAlwaysNeeded()
- Indicates whether a caller of a "toNative" transformation needs to provide
the old native value in order to get a successful transformation. Otherwise
the caller may provide a
null to save CPU cycles.
- Returns:
true if the caller must always provide a none
null value for the nativeValue parameter of
the transformation methods.