Interface OperationProvider<T extends Operation<T>>

Type Parameters:
T - the operation type
All Known Subinterfaces:
DomainOperation<T>, Operation<T>, PersistentOperation<T>
All Known Implementing Classes:
AbstractDomainOperation, AbstractPersistentOperation, DummyPersistentOperation

public interface OperationProvider<T extends Operation<T>>
Provider for an Operation.
Author:
harald
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the operation.
    default T
    op()
    Creates a new instance of the same type as the operation.
    default T
    op(String contextName)
    Creates a new instance of the same type as the operation within a new sub context.
  • Method Details

    • getOperation

      T getOperation()
      Gets the operation.
      Returns:
      the operation
    • op

      default T op()
      Creates a new instance of the same type as the operation.
      Returns:
      the new instance
    • op

      default T op(String contextName)
      Creates a new instance of the same type as the operation within a new sub context.
      Parameters:
      contextName - the context name
      Returns:
      the new instance