Class ActuatorParser

java.lang.Object
cs350s22.component.ui.parser.ActuatorParser
All Implemented Interfaces:
SubParser

public class ActuatorParser extends Object implements SubParser
The actuator command is responsible for creating an actuator and optionally connecting sensors to it.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final String[]
     
    private final cs350s22.component.ui.parser.A_ParserHelper
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ActuatorParser(String[] args, cs350s22.component.ui.parser.A_ParserHelper parserHelper)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Method each sub parser is required to use to begin parsing their respective commands.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • args

      private final String[] args
    • parserHelper

      private final cs350s22.component.ui.parser.A_ParserHelper parserHelper
  • Constructor Details

    • ActuatorParser

      public ActuatorParser(String[] args, cs350s22.component.ui.parser.A_ParserHelper parserHelper)
      Constructor.
  • Method Details

    • parse

      public void parse()
      Description copied from interface: SubParser
      Method each sub parser is required to use to begin parsing their respective commands.
      Specified by:
      parse in interface SubParser