|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.ext.tag.TagImpl
railo.runtime.tag.Schedule
public final class Schedule
Provides a programmatic interface to the Railo scheduling engine. You can run a specified page at scheduled intervals with the option to write out static HTML pages. This lets you offer users access to pages that publish data, such as reports, without forcing users to wait while a database transaction is performed in order to populate the data on the page.
Field Summary |
---|
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Constructor Summary | |
---|---|
Schedule()
|
Method Summary | |
---|---|
int |
doEndTag()
|
int |
doStartTag()
|
void |
release()
|
void |
setAction(String action)
set the value action |
void |
setAutodelete(boolean autoDelete)
|
void |
setEnddate(Object enddate)
set the value enddate The date when the scheduled task ends. |
void |
setEndtime(Object endtime)
set the value endtime The time when the scheduled task ends. |
void |
setFile(String file)
set the value file Required with publish ='Yes' A valid filename for the published file. |
void |
setHidden(boolean hidden)
|
void |
setInterval(String interval)
set the value interval Required when creating tasks with action = 'update'. |
void |
setOperation(String operation)
set the value operation The type of operation the scheduler performs when executing this task. |
void |
setPassword(String password)
set the value password Password if URL is protected. |
void |
setPath(String path)
set the value path Required with publish ='Yes' The path location for the published file. |
void |
setPaused(boolean paused)
|
void |
setPort(Object oPort)
set the value port The port number on the server from which the task is being scheduled. |
void |
setProxypassword(String proxypassword)
|
void |
setProxyport(Object oProxyport)
set the value proxyport The port number on the proxy server from which the task is being requested. |
void |
setProxyserver(String proxyserver)
set the value proxyserver Host name or IP address of a proxy server. |
void |
setProxyuser(String proxyuser)
|
void |
setPublish(boolean publish)
set the value publish Specifies whether the result should be saved to a file. |
void |
setReadonly(boolean readonly)
|
void |
setRequesttimeout(Object oRequesttimeout)
set the value requesttimeout Customizes the requestTimeOut for the task operation. |
void |
setResolveurl(boolean resolveurl)
set the value resolveurl Specifies whether to resolve links in the result page to absolute references. |
void |
setReturnvariable(String returnvariable)
|
void |
setServerpassword(String serverPassword)
|
void |
setStartdate(Object objStartDate)
set the value startdate Required when action ='update'. |
void |
setStarttime(Object starttime)
set the value starttime Required when creating tasks with action = 'update'. |
void |
setTask(String task)
set the value task The name of the task to delete, update, or run. |
void |
setUrl(String url)
set the value url Required when action = 'update'. |
void |
setUsername(String username)
set the value username Username if URL is protected. |
Methods inherited from class railo.runtime.ext.tag.TagImpl |
---|
getParent, required, required, required, required, setPageContext, setPageContext, setParent |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Schedule()
Method Detail |
---|
public void setAutodelete(boolean autoDelete)
public void setReadonly(boolean readonly)
readonly
- the readonly to setpublic void setHidden(boolean hidden)
hidden
- the hidden to setpublic void setReturnvariable(String returnvariable)
returnvariable
- The returnvariable to set.public void setProxypassword(String proxypassword)
proxypassword
- The proxypassword to set.public void setProxyuser(String proxyuser)
proxyuser
- The proxyuser to set.public void setPaused(boolean paused)
public void setPassword(String password)
password
- value to setpublic void setStartdate(Object objStartDate) throws PageException
objStartDate
- value to set
PageException
public void setResolveurl(boolean resolveurl)
resolveurl
- value to setpublic void setServerpassword(String serverPassword)
public void setAction(String action) throws ApplicationException
action
- value to set
ApplicationException
public void setProxyserver(String proxyserver)
proxyserver
- value to setpublic void setEnddate(Object enddate) throws PageException
enddate
- value to set
PageException
public void setFile(String file)
file
- value to setpublic void setStarttime(Object starttime) throws PageException
starttime
- value to set
PageException
public void setProxyport(Object oProxyport) throws PageException
proxyport
- value to set
PageException
public void setPort(Object oPort) throws PageException
port
- value to set
PageException
public void setEndtime(Object endtime) throws PageException
endtime
- value to set
PageException
public void setOperation(String operation) throws ApplicationException
operation
- value to set
ApplicationException
public void setInterval(String interval)
interval
- value to setpublic void setPublish(boolean publish)
publish
- value to setpublic void setRequesttimeout(Object oRequesttimeout) throws PageException
requesttimeout
- value to set
PageException
public void setUsername(String username)
username
- value to setpublic void setUrl(String url)
url
- value to setpublic void setPath(String path)
path
- value to setpublic void setTask(String task)
task
- value to setpublic int doStartTag() throws PageException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class TagImpl
PageException
public int doEndTag()
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class TagImpl
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class TagImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |