Interface Executor<C,​E extends Executable<C>>

  • Type Parameters:
    C - the execution context
    E - the contextual executable
    All Known Subinterfaces:
    MetricExecutor<C>

    public interface Executor<C,​E extends Executable<C>>
    Encapsulates the execution of a contextual executable.
    Author:
    Paul Ferraro
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.jboss.dmr.ModelNode execute​(org.jboss.as.controller.OperationContext context, E executable)
      Executes the specified executable against the specified operation context.
    • Method Detail

      • execute

        org.jboss.dmr.ModelNode execute​(org.jboss.as.controller.OperationContext context,
                                        E executable)
                                 throws org.jboss.as.controller.OperationFailedException
        Executes the specified executable against the specified operation context.
        Parameters:
        context - an operation context
        executable - the contextual executable object
        Returns:
        the result of the execution (possibly null).
        Throws:
        org.jboss.as.controller.OperationFailedException - if execution fails