Class CompositeAndGoal.Builder

java.lang.Object
gov.nasa.jpl.aerie.scheduler.goals.Goal.Builder<CompositeAndGoal.Builder>
gov.nasa.jpl.aerie.scheduler.goals.CompositeAndGoal.Builder
Enclosing class:
CompositeAndGoal

public static class CompositeAndGoal.Builder extends Goal.Builder<CompositeAndGoal.Builder>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • and

      public CompositeAndGoal.Builder and(Goal goal)
    • build

      public CompositeAndGoal build()
      Description copied from class: Goal.Builder
      uses all pending specifications to construct a matching new goal object this is typically the last client call after a chain of specifiers, but the builder object remains viable to be further specified and build additional goals
      Overrides:
      build in class Goal.Builder<CompositeAndGoal.Builder>
      Returns:
      a newly allocated goal object matching all specifications
    • getThis

      public CompositeAndGoal.Builder getThis()
      Description copied from class: Goal.Builder
      returns the current builder object (but typed at the lowest level) should be implemented by the builder at the bottom of the type heirarchy
      Specified by:
      getThis in class Goal.Builder<CompositeAndGoal.Builder>
      Returns:
      reference to the current builder object (specifically typed)