|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ops4j.pax.radman.service.job.scheduler.JobDescriptor
public final class JobDescriptor
JobDescriptor represents informations:
| Constructor Summary | |
|---|---|
JobDescriptor(java.lang.String cron,
java.lang.String jobId,
java.lang.String jobServiceId,
JobParam jobParam)
Construct an instance of JobDecriptor with the specified arguments. |
|
| Method Summary | |
|---|---|
java.lang.String |
getCronSchedule()
Returns the schedule job execution time in cron format. |
java.lang.String |
getJobId()
Returns the job id. |
JobParam |
getJobParameter()
Returns the job parameter. |
java.lang.String |
getJobServiceId()
Returns the job service id. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JobDescriptor(java.lang.String cron,
java.lang.String jobId,
java.lang.String jobServiceId,
JobParam jobParam)
throws java.lang.IllegalArgumentException
JobDecriptor with the specified arguments.
cron - The schedule as cron. null means the job to be executed immediately.jobId - The job id id. This argument must not be null or empty.jobServiceId - The job service id. This argument must not be null.jobParam - The job parameter. This argument must not be null.
java.lang.IllegalArgumentException - Thrown if arguments with non-null is specified.| Method Detail |
|---|
public final java.lang.String getCronSchedule()
null if the job described by this
instance should be invoked immediately.
public final java.lang.String getJobId()
null string.
public final java.lang.String getJobServiceId()
null string.
public final JobParam getJobParameter()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||