|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTask
com.ibm.websphere.ant.tasks.WsAdmin
com.ibm.websphere.ant.tasks.InstallApplication
public class InstallApplication
The wsInstallApp task enables you to install a new application into a WebSphere Server or Cell. This task is a subclass of the wsadmin task and shares many of the same attributes. This task is a wrapper for the AdminApp.install() command of the wsadmin tool. Refer to the wsadmin documentation for information on the valid options available during application installation. The structure of the wsInstallApp task is shown below:
Constructor Summary | |
---|---|
InstallApplication()
Constructor for InstallApplication. |
Method Summary | |
---|---|
Commandline.Argument |
createArg()
Creates a nested arg element. |
void |
execute()
|
void |
setCommand(java.lang.String command)
Disabled in this subclass |
void |
setEar(java.lang.String application)
Sets the ear. |
void |
setLang(java.lang.String lang)
Disabled in this subclass |
void |
setOptions(java.lang.String options)
Sets the options. |
void |
setScript(java.lang.String script)
Disabled in this subclass |
Methods inherited from class com.ibm.websphere.ant.tasks.WsAdmin |
---|
createJvmarg, isDebug, setConntype, setDebug, setFailonerror, setFileEncoding, setHost, setJvmMaxMemory, setPassword, setPort, setProfile, setProfileName, setProperties, setUser, setWasHome |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InstallApplication()
Method Detail |
---|
public void setCommand(java.lang.String command)
setCommand
in class WsAdmin
command
- The command to setpublic void setLang(java.lang.String lang)
setLang
in class WsAdmin
lang
- The lang to setpublic void setScript(java.lang.String script)
setScript
in class WsAdmin
script
- The script to setpublic void setEar(java.lang.String application)
ear
- The ear to setpublic void execute() throws BuildException
execute
in class WsAdmin
BuildException
Task#execute()
public void setOptions(java.lang.String options)
options
- The options to setpublic Commandline.Argument createArg()
WsAdmin
createArg
in class WsAdmin
WsAdmin.createArg()
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |