public static final class SimJQOperation.RevocationRequest extends SimJQOperation.RequestJQ<SimJQOperation.Revocation,SimJQOperation.RevocationRequest> implements SimEntityOperation.Request<SimJQOperation.Revocation,SimJQOperation.RevocationRequest>
SimJQOperation.Revocation.| Constructor and Description |
|---|
RevocationRequest(SimJob job,
SimQueue queue,
boolean interruptService)
Creates the request.
|
| Modifier and Type | Method and Description |
|---|---|
SimJQOperation.RevocationRequest |
forJob(SimJob job)
Returns a copy of this request for another job.
|
SimJQOperation.RevocationRequest |
forJobAndQueue(SimJob job,
SimQueue queue)
Returns a copy of this request for another job and another queue.
|
SimJQOperation.RevocationRequest |
forQueue(SimQueue queue)
Returns a copy of this request for another queue.
|
SimJQOperation.Revocation |
getOperation()
Returns the singleton instance of
SimJQOperation.Revocation. |
boolean |
isInterruptService()
Returns whether to allow revocation from the job from the service area.
|
forTargetEntity, getJob, getQueuegetTargetEntityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforTargetEntity, getTargetEntitypublic RevocationRequest(SimJob job, SimQueue queue, boolean interruptService)
job - The job, non-null.queue - The queue, non-null.interruptService - Whether to allow revocation from the job from the service area.IllegalArgumentException - If the job or queue is null.public final boolean isInterruptService()
public final SimJQOperation.Revocation getOperation()
SimJQOperation.Revocation.getOperation in interface SimEntityOperation.Request<SimJQOperation.Revocation,SimJQOperation.RevocationRequest>SimJQOperation.Revocation.public SimJQOperation.RevocationRequest forJob(SimJob job)
SimJQOperation.RequestJAndOrQforJob in class SimJQOperation.RequestJAndOrQ<SimJQOperation.Revocation,SimJQOperation.RevocationRequest>job - The new job, non-null.public SimJQOperation.RevocationRequest forQueue(SimQueue queue)
SimJQOperation.RequestJAndOrQforQueue in class SimJQOperation.RequestJAndOrQ<SimJQOperation.Revocation,SimJQOperation.RevocationRequest>queue - The new queue, non-null.public SimJQOperation.RevocationRequest forJobAndQueue(SimJob job, SimQueue queue)
SimJQOperation.RequestJAndOrQforJobAndQueue in class SimJQOperation.RequestJAndOrQ<SimJQOperation.Revocation,SimJQOperation.RevocationRequest>job - The new job, non-null.queue - The new queue, non-null.Copyright © 2018. All rights reserved.