public abstract class SimJobEvent<J extends SimJob,Q extends SimQueue> extends SimJQEvent<J,Q>
SimEvent for a SimJob operation on SimJobs.
This class only administers the key parameters for the event; it does not actually schedule it.
Copyright (C) 2005-2017 Jan de Jongh, TNO
This file is covered by the LICENSE file in the root of this project.
SimJQEvent.Arrival<J extends SimJob,Q extends SimQueue>, SimJQEvent.AutoRevocation<J extends SimJob,Q extends SimQueue>, SimJQEvent.Departure<J extends SimJob,Q extends SimQueue>, SimJQEvent.Drop<J extends SimJob,Q extends SimQueue>, SimJQEvent.Revocation<J extends SimJob,Q extends SimQueue>, SimJQEvent.Start<J extends SimJob,Q extends SimQueue>SimEntityEvent.Reset, SimEntityEvent.Update| Modifier | Constructor and Description |
|---|---|
protected |
SimJobEvent(String name,
double time,
Q queue,
J job,
org.javades.jsimulation.r5.SimEventAction<? extends SimEntity> action)
Creates a new event for a job.
|
copyForQueueAndJob, getJob, getQueuegetEntityprotected SimJobEvent(String name, double time, Q queue, J job, org.javades.jsimulation.r5.SimEventAction<? extends SimEntity> action)
name - The (optional) name of the event, may be null.time - The time at which the event occurs.queue - The queue related to the event (if applicable), may be null.job - The job related to the event, non-null.action - The SimEventAction to take; may be null.IllegalArgumentException - If the job is null.Copyright © 2018. All rights reserved.