Class EventWeightageState

    • Constructor Summary

      Constructors 
      Constructor Description
      EventWeightageState​(Parser parser, java.lang.String description, java.time.LocalDateTime start, java.time.LocalDateTime end, java.lang.String moduleCode)
      Initializes a state to process module associated with an event.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Command process​(java.lang.String value, java.util.Map<java.lang.String,​java.lang.String> parameters)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EventWeightageState

        public EventWeightageState​(Parser parser,
                                   java.lang.String description,
                                   java.time.LocalDateTime start,
                                   java.time.LocalDateTime end,
                                   java.lang.String moduleCode)
        Initializes a state to process module associated with an event.
        Parameters:
        parser - the main parser instance
        description - the description of the event
        start - the start time of the event
        end - the end time of the event
    • Method Detail

      • process

        public Command process​(java.lang.String value,
                               java.util.Map<java.lang.String,​java.lang.String> parameters)
        Overrides:
        process in class ParserState