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.TimeBetweenEventsStepIfc
action(EventGeneratorActionIfc action)
EventGenerator
build()
EventGenerator.BuildStepIfc
maxNumberOfEvents(long maxNum)
EventGenerator.BuildStepIfc
name(java.lang.String name)
EventGenerator.BuildStepIfc
timeBetweenEvents(RandomIfc timeBtwEvents)
EventGenerator.BuildStepIfc
timeUntilFirst(RandomIfc timeUntilFirst)
EventGenerator.BuildStepIfc
timeUntilLastEvent(double timeUntilLastEvent)
-
-
-
Constructor Detail
-
EventGeneratorBuilder
public EventGeneratorBuilder(ModelElement parent)
-
-
Method Detail
-
action
public EventGenerator.TimeBetweenEventsStepIfc action(EventGeneratorActionIfc action)
- Specified by:
action
in interfaceEventGenerator.ActionStepIfc
-
timeUntilFirst
public EventGenerator.BuildStepIfc timeUntilFirst(RandomIfc timeUntilFirst)
- Specified by:
timeUntilFirst
in interfaceEventGenerator.BuildStepIfc
-
timeBetweenEvents
public EventGenerator.BuildStepIfc timeBetweenEvents(RandomIfc timeBtwEvents)
- Specified by:
timeBetweenEvents
in interfaceEventGenerator.TimeBetweenEventsStepIfc
-
maxNumberOfEvents
public EventGenerator.BuildStepIfc maxNumberOfEvents(long maxNum)
- Specified by:
maxNumberOfEvents
in interfaceEventGenerator.BuildStepIfc
-
name
public EventGenerator.BuildStepIfc name(java.lang.String name)
- Specified by:
name
in interfaceEventGenerator.BuildStepIfc
-
timeUntilLastEvent
public EventGenerator.BuildStepIfc timeUntilLastEvent(double timeUntilLastEvent)
- Specified by:
timeUntilLastEvent
in interfaceEventGenerator.BuildStepIfc
-
build
public EventGenerator build()
- Specified by:
build
in interfaceEventGenerator.BuildStepIfc
-
-