public class JmxOperation extends Operation
Constructor and Description |
---|
JmxOperation(OperationType type,
OperationInvoker invoker,
String operationName,
Class<?> outputType,
String description,
List<JmxEndpointOperationParameterInfo> parameters)
Creates a new
JmxEndpointOperation for an operation of the given
type . |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns the description of the operation.
|
String |
getOperationName()
Returns the name of the operation.
|
Class<?> |
getOutputType()
Returns the type of the output of the operation.
|
List<JmxEndpointOperationParameterInfo> |
getParameters()
Returns the parameters of the operation.
|
String |
toString() |
getInvoker, getType, isBlocking
public JmxOperation(OperationType type, OperationInvoker invoker, String operationName, Class<?> outputType, String description, List<JmxEndpointOperationParameterInfo> parameters)
JmxEndpointOperation
for an operation of the given
type
. The operation can be performed using the given invoker
.type
- the type of the operationinvoker
- used to perform the operationoperationName
- the name of the operationoutputType
- the type of the output of the operationdescription
- the description of the operationparameters
- the parameters of the operationpublic String getOperationName()
public Class<?> getOutputType()
public String getDescription()
public List<JmxEndpointOperationParameterInfo> getParameters()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.