Package hudson.init

Annotation Type Terminator

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      TermMilestone after
      Indicates that the specified milestone is necessary before executing this terminator.
      String[] attains
      Indicates the milestones that this terminator contributes to.
      TermMilestone before
      Indicates that this terminator is a necessary step before achieving the specified milestone.
      String displayName
      Key in Messages.properties that represents what this task is about.
      String[] requires
      Indicates the milestones necessary before executing this terminator.
    • Element Detail

      • after

        TermMilestone after
        Indicates that the specified milestone is necessary before executing this terminator.

        This has the identical purpose as requires(), but it's separated to allow better type-safety when using TermMilestone as a requirement (since enum member definitions need to be constant.)

        Default:
        hudson.init.TermMilestone.STARTED
      • before

        TermMilestone before
        Indicates that this terminator is a necessary step before achieving the specified milestone.

        This has the identical purpose as attains(). See after() for why there are two things to achieve the same goal.

        Default:
        hudson.init.TermMilestone.COMPLETED
      • requires

        String[] requires
        Indicates the milestones necessary before executing this terminator.
        Default:
        {}
      • attains

        String[] attains
        Indicates the milestones that this terminator contributes to. A milestone is considered attained if all the terminators that attains the given milestone completes. So it works as a kind of join.
        Default:
        {}
      • displayName

        String displayName
        Key in Messages.properties that represents what this task is about. Used for rendering the progress. Defaults to "${short class name}.${method Name}".
        Default:
        ""