Modifier and Type | Field and Description |
---|---|
private JobDescription |
description |
private java.lang.String |
identifier |
private boolean |
interactive |
private boolean |
online |
private Scheduler |
scheduler |
Constructor and Description |
---|
JobImplementation(Scheduler scheduler,
java.lang.String identifier,
boolean interactive,
boolean online) |
JobImplementation(Scheduler scheduler,
java.lang.String identifier,
JobDescription description,
boolean interactive,
boolean online) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getIdentifier()
Returns the identifier that was assigned to this job by the scheduler.
|
JobDescription |
getJobDescription()
Returns the
JobDescription that was used to create this Job. |
Scheduler |
getScheduler()
Returns the
Scheduler that was used to create this Job. |
int |
hashCode() |
boolean |
isInteractive()
Returns if this is an interactive job.
|
boolean |
isOnline()
Returns if this is an online job.
|
java.lang.String |
toString() |
private JobDescription description
private final Scheduler scheduler
private final java.lang.String identifier
private final boolean interactive
private final boolean online
public JobImplementation(Scheduler scheduler, java.lang.String identifier, boolean interactive, boolean online)
public JobImplementation(Scheduler scheduler, java.lang.String identifier, JobDescription description, boolean interactive, boolean online)
public JobDescription getJobDescription()
Job
JobDescription
that was used to create this Job.getJobDescription
in interface Job
public Scheduler getScheduler()
Job
Scheduler
that was used to create this Job.getScheduler
in interface Job
public java.lang.String getIdentifier()
Job
getIdentifier
in interface Job
public boolean isInteractive()
Job
isInteractive
in interface Job
public boolean isOnline()
Job
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object