public interface JobEntry extends Comparable<JobEntry>
Modifier and Type | Method and Description |
---|---|
void |
calcRunTime()
Calculate how long before the next runtime.
|
int |
getJobId()
Get the value of jobId.
|
String |
getNextRunAsString()
Get the next runtime for this job as a String.
|
Date |
getNextRunDate()
Gets the next runtime as a date
|
long |
getNextRuntime()
Get the next runtime for this job as a long.
|
String |
getTask()
Get the Task
|
boolean |
isActive()
Check to see if job is currently active/running
|
boolean |
isNew()
Check to see if job is new
|
void |
setActive(boolean isActive)
Sets whether the job is running.
|
void |
setJobId(int v)
Set the value of jobId.
|
void |
setTask(String v)
Set the value of Task
|
compareTo
void setActive(boolean isActive)
isActive
- Whether the job is running.boolean isActive()
boolean isNew()
int getJobId()
void setJobId(int v)
v
- new valuelong getNextRuntime()
Date getNextRunDate()
String getNextRunAsString()
void calcRunTime() throws TurbineException
TurbineException
- a generic exception.Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.