Interface Operations<T extends Operation>

    • Method Detail

      • updateOperations

        default void updateOperations​(Collection<T> operations)
        Updates the operations using the provided collection. By default this will just clear the current operations collection and add all the new operations.
        Parameters:
        operations - the new operations.
      • getOperationsClass

        default Class<T> getOperationsClass()
        The class of the operations. By default this will return the Operation class.
        Returns:
        the class of the operations
      • flatten

        default List<Operation> flatten()
        Recursively flattens nested operations.
        Returns:
        a list of flattened operations.