railo.runtime.schedule
Interface ScheduleTask


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
 org.apache.commons.httpclient.Credentials getCredentials()
           
 Date getEndDate()
           
 Time getEndTime()
           
 int getInterval()
           
 java.lang.String getIntervalAsString()
           
 long getNextExecution()
           
 short getOperation()
           
 org.apache.commons.httpclient.Credentials getProxyCredentials()
           
 java.lang.String getProxyHost()
           
 int getProxyPort()
           
 Resource getResource()
           
 Date getStartDate()
           
 Time getStartTime()
           
 java.lang.String getStringInterval()
           
 java.lang.String getTask()
           
 long getTimeout()
           
 org.apache.commons.httpclient.UsernamePasswordCredentials getUPCredentials()
           
 org.apache.commons.httpclient.UsernamePasswordCredentials getUPProxyCredentials()
           
 java.net.URL getUrl()
           
 boolean hasCredentials()
           
 boolean hasProxyCredentials()
           
 boolean isHidden()
           
 boolean isPublish()
           
 boolean isResolveURL()
           
 boolean isValid()
           
 void setHidden(boolean hidden)
           
 void setNextExecution(long nextExecution)
           
 void setValid(boolean valid)
           
 

Field Detail

OPERATION_HTTP_REQUEST

public static final short OPERATION_HTTP_REQUEST
Field OPERATION_HTTP_REQUEST

See Also:
Constant Field Values

INTERVAL_ONCE

public static final int INTERVAL_ONCE
Field INTERVAL_ONCE

See Also:
Constant Field Values

INTERVAL_DAY

public static final int INTERVAL_DAY
Field INTERVAL_DAY

See Also:
Constant Field Values

INTERVAL_WEEK

public static final int INTERVAL_WEEK
Field INTERVAL_WEEK

See Also:
Constant Field Values

INTERVAL_MONTH

public static final int INTERVAL_MONTH
Field INTERVAL_MONTH

See Also:
Constant Field Values
Method Detail

getCredentials

public org.apache.commons.httpclient.Credentials getCredentials()
Returns:
Returns the credentials.

hasCredentials

public boolean hasCredentials()
Returns:
Returns has credentials.

getUPCredentials

public org.apache.commons.httpclient.UsernamePasswordCredentials getUPCredentials()
Returns:
Returns the credentials.

getResource

public Resource getResource()
Returns:
Returns the file.

getInterval

public int getInterval()
Returns:
Returns the interval.

getOperation

public short getOperation()
Returns:
Returns the operation.

getProxyHost

public java.lang.String getProxyHost()
Returns:
Returns the proxyHost.

getProxyPort

public int getProxyPort()
Returns:
Returns the proxyPort.

hasProxyCredentials

public boolean hasProxyCredentials()
Returns:
Returns has proxyCredentials.

getProxyCredentials

public org.apache.commons.httpclient.Credentials getProxyCredentials()
Returns:
Returns the proxyCredentials.

getUPProxyCredentials

public org.apache.commons.httpclient.UsernamePasswordCredentials getUPProxyCredentials()
Returns:
Returns the proxyCredentials.

isResolveURL

public boolean isResolveURL()
Returns:
Returns the resolveURL.

getTask

public java.lang.String getTask()
Returns:
Returns the task.

getTimeout

public long getTimeout()
Returns:
Returns the timeout.

getUrl

public java.net.URL getUrl()
Returns:
Returns the url.

setNextExecution

public void setNextExecution(long nextExecution)
Parameters:
nextExecution -

getNextExecution

public long getNextExecution()
Returns:
Returns the nextExecution.

getEndDate

public Date getEndDate()
Returns:
Returns the endDate.

getStartDate

public Date getStartDate()
Returns:
Returns the startDate.

getEndTime

public Time getEndTime()
Returns:
Returns the endTime.

getStartTime

public Time getStartTime()
Returns:
Returns the startTime.

getIntervalAsString

public java.lang.String getIntervalAsString()
Returns:
returns intervall definition as String

getStringInterval

public java.lang.String getStringInterval()
Returns:
Returns the strInterval.

isPublish

public boolean isPublish()
Returns:
Returns the publish.

isValid

public boolean isValid()
Returns:
Returns the valid.

setValid

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

isHidden

public boolean isHidden()
Returns:
the hidden

setHidden

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