org.apache.tools.ant.taskdefs.optional.splash
public class SplashTask extends Task
Since: Ant1.5
Method Summary | |
---|---|
void | execute()
Execute the task. |
void | setDisplayText(String displayText)
Sets the display text presented in the splash window.
optional; defaults to "Building ..." |
void | setImageURL(String imgurl)
A URL pointing to an image to display; optional, default antlogo.gif
from the classpath. |
void | setPassword(String password)
Proxy password; required if user is set. |
void | setPort(String port)
Proxy port; optional, default 80. |
void | setProgressRegExp(String progressRegExp)
Progress regular expression which is used to parse the output
and dig out current progress optional; if not provided,
progress is increased every action and log output line |
void | setProxy(String proxy)
name of proxy; optional. |
void | setShowduration(int duration)
how long to show the splash screen in milliseconds,
optional; default 5000 ms. |
void | setUseproxy(boolean useProxy)
flag to enable proxy settings; optional, deprecated : consider
using <setproxy> instead |
void | setUser(String user)
Proxy user; optional, default =none. |
Throws: BuildException on error
Parameters: displayText the display text presented the splash window
Since: Ant 1.8.0
Parameters: imgurl the url string pointing to the image
Parameters: password the proxy password
Parameters: port the proxy port
Parameters: progressRegExp Progress regular expression, exactly one group pattern must exists, and it represents the progress number (0-100) (i.e "Progress: (.*)%")
Since: Ant 1.8.0
Parameters: proxy the name of the proxy host
Parameters: duration the spash duration in milliseconds
Deprecated: since 1.5.x. Use org.apache.tools.ant.taskdefs.optional.SetProxy
flag to enable proxy settings; optional, deprecated : consider using <setproxy> insteadParameters: useProxy if ture, enable proxy settings
Parameters: user the proxy user