Interface Task

  • All Superinterfaces:
    Executable

    public interface Task
    extends Executable
    One initialization task
    Author:
    Kohsuke Kawaguchi
    • Method Detail

      • requires

        Collection<? extends Milestone> requires()
        Indicates the milestones necessary before executing this.
      • attains

        Collection<? extends Milestone> attains()
        Indicates the milestones that this initializer contributes. A milestone is considered attained if all the initializers that attains the given milestone completes. So it works as a kind of join.
      • getDisplayName

        String getDisplayName()
        Human readable description of this task. Used for progress report.
        Returns:
        null to indicate that this task doesn't have any significant to humans.
      • failureIsFatal

        boolean failureIsFatal()
        Returns true if the failure of this task is fatal and should break the reactor. If false, the failure is sent to the listener but the successive tasks will be started as if this task was successful (and eventually resulting in the completion of the reactor execution, provided that no other fatal failures occur.)