Class RunnableOperation

All Implemented Interfaces:
PropertyBindable, PropertyConstrainable, Operation, Task, Runnable

public class RunnableOperation extends AbstractOperation
An operation that delegates to a provided Runnable.

This implementation is itself Runnable.

Author:
Garret Wilson
  • Constructor Details

    • RunnableOperation

      public RunnableOperation(Runnable runnable)
      Runnable constructor.
      Parameters:
      runnable - The runnable to be decorated by this operation.
      Throws:
      NullPointerException - if the given runnable is null.
  • Method Details