Package duchess.parser.states.add
Class EventWeightageState
- java.lang.Object
-
- duchess.parser.states.ParserState
-
- duchess.parser.states.add.EventWeightageState
-
public class EventWeightageState extends ParserState
-
-
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 Commandprocess(java.lang.String value, java.util.Map<java.lang.String,java.lang.String> parameters)-
Methods inherited from class duchess.parser.states.ParserState
continueParsing, parse
-
-
-
-
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 instancedescription- the description of the eventstart- the start time of the eventend- 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:
processin classParserState
-
-