Class SASFStep

java.lang.Object
gov.nasa.jpl.sequencing.sasfSequencing.SASFStep
Direct Known Subclasses:
SASFActivity, SASFCommand, SASFGround, SASFNote, SASFSpawn

public abstract class SASFStep extends Object
  • Field Details

    • stepType

      protected String stepType
    • stepStart

      protected Time stepStart
    • comment

      protected String comment
    • ntext

      protected String ntext
  • Constructor Details

    • SASFStep

      protected SASFStep(String stepType, Time stepStart)
  • Method Details

    • formatStepArgs

      protected static String formatStepArgs(List<String> stepArgs)
      Takes in a list of stepArgs and formats them by adding new lines in between arguments and commas after all but the last argument.
      Parameters:
      stepArgs -
      Returns:
    • writeStepHeader

      public String writeStepHeader(Integer stepNumber, Time requestStart)
      Writes out the header for a given step inside of a request.
      Parameters:
      stepNumber -
      requestStart -
      Returns:
    • writeStepBody

      public abstract String writeStepBody()
      Writes out the name of the step along with any arguments.
      Returns:
    • writeStepFooter

      public String writeStepFooter()
      Writes out the footer for a given step inside of a request.
      Returns:
    • addComment

      public void addComment(String comment)
    • addNText

      public void addNText(String ntext)