Package jsl.modeling.elements
Class EventGenerator.EventGeneratorBuilder
- java.lang.Object
-
- jsl.modeling.elements.EventGenerator.EventGeneratorBuilder
-
- All Implemented Interfaces:
EventGenerator.ActionStepIfc,EventGenerator.BuildStepIfc,EventGenerator.TimeBetweenEventsStepIfc
- Enclosing class:
- EventGenerator
protected static class EventGenerator.EventGeneratorBuilder extends java.lang.Object implements EventGenerator.ActionStepIfc, EventGenerator.TimeBetweenEventsStepIfc, EventGenerator.BuildStepIfc
-
-
Constructor Summary
Constructors Constructor Description EventGeneratorBuilder(ModelElement parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventGenerator.TimeBetweenEventsStepIfcaction(EventGeneratorActionIfc action)EventGeneratorbuild()EventGenerator.BuildStepIfcmaxNumberOfEvents(long maxNum)EventGenerator.BuildStepIfcname(java.lang.String name)EventGenerator.BuildStepIfctimeBetweenEvents(RandomIfc timeBtwEvents)EventGenerator.BuildStepIfctimeUntilFirst(RandomIfc timeUntilFirst)EventGenerator.BuildStepIfctimeUntilLastEvent(double timeUntilLastEvent)
-
-
-
Constructor Detail
-
EventGeneratorBuilder
public EventGeneratorBuilder(ModelElement parent)
-
-
Method Detail
-
action
public EventGenerator.TimeBetweenEventsStepIfc action(EventGeneratorActionIfc action)
- Specified by:
actionin interfaceEventGenerator.ActionStepIfc
-
timeUntilFirst
public EventGenerator.BuildStepIfc timeUntilFirst(RandomIfc timeUntilFirst)
- Specified by:
timeUntilFirstin interfaceEventGenerator.BuildStepIfc
-
timeBetweenEvents
public EventGenerator.BuildStepIfc timeBetweenEvents(RandomIfc timeBtwEvents)
- Specified by:
timeBetweenEventsin interfaceEventGenerator.TimeBetweenEventsStepIfc
-
maxNumberOfEvents
public EventGenerator.BuildStepIfc maxNumberOfEvents(long maxNum)
- Specified by:
maxNumberOfEventsin interfaceEventGenerator.BuildStepIfc
-
name
public EventGenerator.BuildStepIfc name(java.lang.String name)
- Specified by:
namein interfaceEventGenerator.BuildStepIfc
-
timeUntilLastEvent
public EventGenerator.BuildStepIfc timeUntilLastEvent(double timeUntilLastEvent)
- Specified by:
timeUntilLastEventin interfaceEventGenerator.BuildStepIfc
-
build
public EventGenerator build()
- Specified by:
buildin interfaceEventGenerator.BuildStepIfc
-
-