public class SplashTask extends Task
description, location, project| Constructor and Description |
|---|
SplashTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Execute the task.
|
void |
setImageURL(java.lang.String imgurl)
A URL pointing to an image to display; optional, default antlogo.gif
from the classpath.
|
void |
setPassword(java.lang.String password)
Proxy password; required if user is set.
|
void |
setPort(java.lang.String port)
Proxy port; optional, default 80.
|
void |
setProxy(java.lang.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)
Deprecated.
since 1.5.x.
Use org.apache.tools.ant.taskdefs.optional.SetProxy
|
void |
setUser(java.lang.String user)
Proxy user; optional, default =none.
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectpublic void setImageURL(java.lang.String imgurl)
imgurl - the url string pointing to the imagepublic void setUseproxy(boolean useProxy)
useProxy - if ture, enable proxy settingspublic void setProxy(java.lang.String proxy)
proxy - the name of the proxy hostpublic void setPort(java.lang.String port)
port - the proxy portpublic void setUser(java.lang.String user)
user - the proxy userpublic void setPassword(java.lang.String password)
password - the proxy passwordpublic void setShowduration(int duration)
duration - the spash duration in millisecondspublic void execute()
throws BuildException
execute in class TaskBuildException - on error