Interface OperationAgent


public interface OperationAgent
Definition of an agent specialized in providing access to application operations. Kind and number of operations available differs with respect to the operating context. If an operation is supported in the current context, a container providing the respective API will be available. Otherwise, no exception will be thrown but null be returned.
Since:
4.2.405
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    The agent's technical type to be used for requesting the agent from a SpecialistsBroker.
  • Method Summary

    Modifier and Type
    Method
    Description
    <P> P
    Get a new operation object to parameterize and execute it.
  • Field Details

  • Method Details

    • getOperation

      @Nullable <P> P getOperation(OperationType<P> type)
      Get a new operation object to parameterize and execute it.
      Type Parameters:
      P - The programmatic type of process.
      Parameters:
      type - The (technical) operation's type definition.
      Returns:
      A new operation instance or null, if unsupported in the current context.
      Since:
      4.2.405