Job.InternalJobImpl| Constructor and Description |
|---|
InternalJobImpl(java.lang.Runnable job) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancels this job if started.
|
boolean |
isStarted()
Whether the job has already started or not.
|
void |
loop()
Internal loop.
|
void |
setStarted(boolean started) |
void |
start()
Starts this job.
|
java.lang.String |
toString() |
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean isStarted()
Jobpublic void start()
Jobpublic void cancel()
Jobpublic void loop()
JobThis is an internal inventory-framework API that should not be used from outside of this library. No compatibility guarantees are provided.
@TestOnly public void setStarted(boolean started)