Class OptionGoal.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • or

      public OptionGoal.Builder or(Goal goal)
    • optimizingFor

      public OptionGoal.Builder optimizingFor(Optimizer s)
    • getThis

      protected OptionGoal.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<OptionGoal.Builder>
      Returns:
      reference to the current builder object (specifically typed)
    • build

      public OptionGoal 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<OptionGoal.Builder>
      Returns:
      a newly allocated goal object matching all specifications