org.apache.activemq.broker.scheduler
Interface Job

All Known Implementing Classes:
JobImpl

public interface Job


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

Method Detail

getJobId

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

String getCronEntry()
Returns:
the cron entry

getPayload

byte[] getPayload()
Returns:
the payload

getStartTime

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

Returns:
the date time

getNextExecutionTime

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

Returns:
the date time


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.