public class ConfiguredObjectMethodOperation<C extends ConfiguredObject> extends Object implements ConfiguredObjectOperation<C>
| Constructor and Description |
|---|
ConfiguredObjectMethodOperation(Class<C> clazz,
Method operation,
ConfiguredObjectTypeRegistry typeRegistry) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
Type |
getGenericReturnType() |
String |
getName() |
List<OperationParameter> |
getParameters() |
Class<?> |
getReturnType() |
boolean |
hasSameParameters(ConfiguredObjectOperation<?> other) |
boolean |
isNonModifying() |
Object |
perform(C subject,
Map<String,Object> parameters) |
public ConfiguredObjectMethodOperation(Class<C> clazz, Method operation, ConfiguredObjectTypeRegistry typeRegistry)
public String getName()
getName in interface ConfiguredObjectOperation<C extends ConfiguredObject>public List<OperationParameter> getParameters()
getParameters in interface ConfiguredObjectOperation<C extends ConfiguredObject>public Object perform(C subject, Map<String,Object> parameters)
perform in interface ConfiguredObjectOperation<C extends ConfiguredObject>public boolean hasSameParameters(ConfiguredObjectOperation<?> other)
hasSameParameters in interface ConfiguredObjectOperation<C extends ConfiguredObject>public Class<?> getReturnType()
getReturnType in interface ConfiguredObjectOperation<C extends ConfiguredObject>public String getDescription()
getDescription in interface ConfiguredObjectOperation<C extends ConfiguredObject>public boolean isNonModifying()
isNonModifying in interface ConfiguredObjectOperation<C extends ConfiguredObject>public Type getGenericReturnType()
getGenericReturnType in interface ConfiguredObjectOperation<C extends ConfiguredObject>Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.