Package org.openjdk.jmc.agent
Class ReturnValue
- java.lang.Object
-
- org.openjdk.jmc.agent.impl.AbstractConvertable
-
- org.openjdk.jmc.agent.ReturnValue
-
- All Implemented Interfaces:
Attribute
,Convertable
public final class ReturnValue extends AbstractConvertable implements Attribute
Metadata for a return value to be logged by the agent.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
contentType
private java.lang.String
description
private java.lang.String
fieldName
private java.lang.String
name
private java.lang.String
relationKey
-
Constructor Summary
Constructors Constructor Description ReturnValue(java.lang.String name, java.lang.String description, java.lang.String contentType, java.lang.String relationKey, java.lang.String converterClassName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReturnValue
from(javax.management.openmbean.CompositeData cd)
java.lang.String
getContentType()
java.lang.String
getDescription()
java.lang.String
getFieldName()
java.lang.String
getName()
java.lang.String
getRelationKey()
-
Methods inherited from class org.openjdk.jmc.agent.impl.AbstractConvertable
getConverterDefinition
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openjdk.jmc.agent.Convertable
getConverterDefinition, hasConverter
-
-
-
-
Method Detail
-
from
public static ReturnValue from(javax.management.openmbean.CompositeData cd)
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interfaceAttribute
-
getContentType
public java.lang.String getContentType()
- Specified by:
getContentType
in interfaceAttribute
-
getRelationKey
public java.lang.String getRelationKey()
- Specified by:
getRelationKey
in interfaceAttribute
-
getFieldName
public java.lang.String getFieldName()
- Specified by:
getFieldName
in interfaceAttribute
-
-