Interface Task

  • All Known Subinterfaces:
    RetryableTask
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface Task
    A Task can be done by an Actor.
    • Method Detail

      • performAs

        void performAs​(Actor actor)
        Perform this Task as the given Actor.
        Parameters:
        actor - the Actor to perform this.