Interface ChainStage

All Superinterfaces:
BambooIdProvider, BambooObject, Deletable, Describable, DescriptionProvider, EntityWithOid, ImmutableChainStage, ImmutableDeletable, ImmutableEntityWithOid, NameProvider, VersionedEntityComponent<Chain>
All Known Implementing Classes:
ChainStageImpl

  • Method Details

    • setName

      void setName(@NotNull @NotNull String name)
      Set the Stage Name
      Specified by:
      setName in interface Describable
      Parameters:
      name -
    • setDescription

      void setDescription(String description)
      Set the Stage Description
      Specified by:
      setDescription in interface Describable
      Parameters:
      description -
    • setManual

      void setManual(boolean manual)
    • setFinal

      void setFinal(boolean finalStage)
    • getChain

      @NotNull @NotNull Chain getChain()
      Gets the Chain that the stage belongs to
      Specified by:
      getChain in interface ImmutableChainStage
      Returns:
      chain
    • setChain

      void setChain(@NotNull @NotNull Chain chain)
      Sets the Chain that the stage belongs to
      Parameters:
      chain -
    • getJobs

      @NotNull @NotNull Set<Job> getJobs()
      Gets the Jobs associated with this Stage, exlcuding the ones marked for deletion
      Specified by:
      getJobs in interface ImmutableChainStage
      Returns:
      jobs
    • getAllJobs

      @NotNull @NotNull Collection<Job> getAllJobs()
      Gets the Jobs associated with this Stage, including the ones marked for deletion
      Returns:
      jobs
    • addJob

      boolean addJob(@NotNull @NotNull Job job)
      Adds a Job to the ChainStage
      Parameters:
      job -
    • removeJob

      boolean removeJob(@NotNull @NotNull Job job)
      Removes the Job from the ChainStage
      Parameters:
      job -