org.apache.activemq.broker.scheduler
Interface Job

All Known Implementing Classes:
JobImpl

public interface Job


Method Summary
 java.lang.String getCronEntry()
           
 long getDelay()
           
 java.lang.String getJobId()
           
 java.lang.String getNextExecutionTime()
          Get the time the job is next due to execute
 byte[] getPayload()
           
 long getPeriod()
           
 int getRepeat()
           
 long getStart()
           
 java.lang.String getStartTime()
          Get the start time as a Date time string
 

Method Detail

getJobId

java.lang.String getJobId()
Returns:
the jobId

getRepeat

int getRepeat()
Returns:
the repeat

getStart

long getStart()
Returns:
the start

getDelay

long getDelay()
Returns:
the Delay

getPeriod

long getPeriod()
Returns:
the period

getCronEntry

java.lang.String getCronEntry()
Returns:
the cron entry

getPayload

byte[] getPayload()
Returns:
the payload

getStartTime

java.lang.String getStartTime()
Get the start time as a Date time string

Returns:
the date time

getNextExecutionTime

java.lang.String getNextExecutionTime()
Get the time the job is next due to execute

Returns:
the date time


Copyright © 2005-2011. All Rights Reserved.