public class JobStatus extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
active |
protected int |
end |
protected int |
id |
protected String |
name |
protected int |
returnValue |
protected int |
start |
Constructor and Description |
---|
JobStatus() |
Modifier and Type | Method and Description |
---|---|
int |
getEnd()
Timestamp of the job end
|
int |
getId()
Job ID
|
String |
getName()
Job Name
|
int |
getReturnValue()
Return value of the job execution
|
int |
getStart()
Timestamp of the job start
|
boolean |
isActive()
True, when the job is currently active (eligible for execution)
|
JobStatus |
setActive(boolean active)
Set active flag
|
JobStatus |
setEnd(int end)
Set end timestamp
|
JobStatus |
setId(int id)
Set the Job ID
|
JobStatus |
setName(String name)
Set the job name
|
JobStatus |
setReturnValue(int returnValue)
Set return value
|
JobStatus |
setStart(int start)
Set start timestamp
|
protected int id
protected int start
protected int end
protected int returnValue
protected String name
protected boolean active
public int getId()
public JobStatus setId(int id)
id
- IDpublic int getStart()
public JobStatus setStart(int start)
start
- timestamppublic int getEnd()
public JobStatus setEnd(int end)
end
- timestamppublic int getReturnValue()
public JobStatus setReturnValue(int returnValue)
returnValue
- return valuepublic String getName()
public JobStatus setName(String name)
name
- namepublic boolean isActive()
public JobStatus setActive(boolean active)
active
- flagCopyright © 2024 Gentics Software. All rights reserved.