Interface Metric<C>

Type Parameters:
C - metric context
All Superinterfaces:
AttributeDefinitionProvider, Supplier<org.jboss.as.controller.AttributeDefinition>

public interface Metric<C> extends AttributeDefinitionProvider
Interface to be implemented by metric enumerations.
Author:
Paul Ferraro
  • Method Summary

    Modifier and Type
    Method
    Description
    org.jboss.dmr.ModelNode
    execute(C context)
    Execute against the specified context.

    Methods inherited from interface org.wildfly.subsystem.resource.AttributeDefinitionProvider

    getName, resolveModelAttribute

    Methods inherited from interface java.util.function.Supplier

    get
  • Method Details

    • execute

      org.jboss.dmr.ModelNode execute(C context) throws org.jboss.as.controller.OperationFailedException
      Execute against the specified context.
      Parameters:
      context - an execution context
      Returns:
      the execution result (possibly null).
      Throws:
      org.jboss.as.controller.OperationFailedException