Class ModelElement.EventScheduler<T>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      JSLEvent<T> days()
      Creates and schedules the event associated carrying the model interpreting the event time in days
      ModelElement.EventBuilderIfc<T> havingPriority​(int priority)
      Sets the scheduling priority of the event, lower is faster
      JSLEvent<T> hours()
      Creates and schedules the event associated carrying the model interpreting the event time in hours
      ModelElement.TimeUnitIfc<T> in​(double time)
      Sets the time of the event being built to current time + time
      ModelElement.TimeUnitIfc<T> in​(GetValueIfc value)
      Sets the time of the event being built to current time + value.getValue()
      JSLEvent<T> milliseconds()
      Creates and schedules the event associated carrying the model interpreting the event time in milliseconds
      JSLEvent<T> minutes()
      Creates and schedules the event associated carrying the model interpreting the event time in minutes
      ModelElement.EventBuilderIfc<T> name​(java.lang.String name)
      Sets the name of the event being built
      JSLEvent<T> now()
      Causes the event that is being built to be scheduled at the current simulation time (no time offset)
      JSLEvent<T> seconds()
      Creates and schedules the event associated carrying the model interpreting the event time in seconds
      JSLEvent<T> units()
      Creates and schedules the event reactingWith the base time timeUnits associated carrying the model
      JSLEvent<T> weeks()
      Creates and schedules the event associated carrying the model interpreting the event time in weeks
      ModelElement.EventBuilderIfc<T> withMessage​(T message)
      An object of type T that is attached to the event
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait