railo.runtime.schedule
Interface ScheduleTask

All Known Implementing Classes:
ScheduleTaskImpl

public interface ScheduleTask

a single scheduler task


Field Summary
static int INTERVAL_DAY
          Field INTERVAL_DAY
static int INTERVAL_MONTH
          Field INTERVAL_MONTH
static int INTERVAL_ONCE
          Field INTERVAL_ONCE
static int INTERVAL_WEEK
          Field INTERVAL_WEEK
static short OPERATION_HTTP_REQUEST
          Field OPERATION_HTTP_REQUEST
 
Method Summary
 Credentials getCredentials()
           
 Date getEndDate()
           
 Time getEndTime()
           
 int getInterval()
           
 String getIntervalAsString()
           
 long getNextExecution()
           
 short getOperation()
           
 ProxyData getProxyData()
           
 Resource getResource()
           
 Date getStartDate()
           
 Time getStartTime()
           
 String getStringInterval()
           
 String getTask()
           
 long getTimeout()
           
 URL getUrl()
           
 boolean hasCredentials()
           
 boolean isHidden()
           
 boolean isPaused()
           
 boolean isPublish()
           
 boolean isResolveURL()
           
 boolean isValid()
           
 void setHidden(boolean hidden)
           
 void setNextExecution(long nextExecution)
           
 void setValid(boolean valid)
           
 

Field Detail

OPERATION_HTTP_REQUEST

static final short OPERATION_HTTP_REQUEST
Field OPERATION_HTTP_REQUEST

See Also:
Constant Field Values

INTERVAL_ONCE

static final int INTERVAL_ONCE
Field INTERVAL_ONCE

See Also:
Constant Field Values

INTERVAL_DAY

static final int INTERVAL_DAY
Field INTERVAL_DAY

See Also:
Constant Field Values

INTERVAL_WEEK

static final int INTERVAL_WEEK
Field INTERVAL_WEEK

See Also:
Constant Field Values

INTERVAL_MONTH

static final int INTERVAL_MONTH
Field INTERVAL_MONTH

See Also:
Constant Field Values
Method Detail

getCredentials

Credentials getCredentials()
Returns:
Returns the credentials.

hasCredentials

boolean hasCredentials()
Returns:
Returns has credentials.

getResource

Resource getResource()
Returns:
Returns the file.

getInterval

int getInterval()
Returns:
Returns the interval.

getOperation

short getOperation()
Returns:
Returns the operation.

getProxyData

ProxyData getProxyData()
Returns:
Returns the proxyHost.

isResolveURL

boolean isResolveURL()
Returns:
Returns the resolveURL.

getTask

String getTask()
Returns:
Returns the task.

getTimeout

long getTimeout()
Returns:
Returns the timeout.

getUrl

URL getUrl()
Returns:
Returns the url.

setNextExecution

void setNextExecution(long nextExecution)
Parameters:
nextExecution -

getNextExecution

long getNextExecution()
Returns:
Returns the nextExecution.

getEndDate

Date getEndDate()
Returns:
Returns the endDate.

getStartDate

Date getStartDate()
Returns:
Returns the startDate.

getEndTime

Time getEndTime()
Returns:
Returns the endTime.

getStartTime

Time getStartTime()
Returns:
Returns the startTime.

getIntervalAsString

String getIntervalAsString()
Returns:
returns interval definition as String

getStringInterval

String getStringInterval()
Returns:
Returns the strInterval.

isPublish

boolean isPublish()
Returns:
Returns the publish.

isValid

boolean isValid()
Returns:
Returns the valid.

setValid

void setValid(boolean valid)
Parameters:
valid - The valid to set.

isHidden

boolean isHidden()
Returns:
the hidden

setHidden

void setHidden(boolean hidden)
Parameters:
hidden - the hidden to set

isPaused

boolean isPaused()


Copyright © 2012 Railo