Interface Metric<C>
-
- Type Parameters:
C- metric context
- All Superinterfaces:
AttributeDefinitionProvider,Supplier<AttributeDefinition>
public interface Metric<C> extends AttributeDefinitionProvider
Interface to be implemented by metric enumerations.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.jboss.dmr.ModelNodeexecute(C context)Execute against the specified context.-
Methods inherited from interface org.wildfly.subsystem.resource.AttributeDefinitionProvider
getName, resolveModelAttribute
-
-
-
-
Method Detail
-
execute
org.jboss.dmr.ModelNode execute(C context) throws OperationFailedException
Execute against the specified context.- Parameters:
context- an execution context- Returns:
- the execution result (possibly null).
- Throws:
OperationFailedException
-
-