|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.ProjectComponent | +--org.apache.tools.ant.Task | +--com.ibm.websphere.ant.tasks.WsAdmin | +--com.ibm.websphere.ant.tasks.ListApplications
The wsListApps task lists all the applications installed on 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.list() command of the wsadmin tool. Refer to the wsadmin documentation for information on this operation. The structure of the wsListApps task is shown below:
Fields inherited from class org.apache.tools.ant.Task |
---|
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
project |
Constructor Summary | |
---|---|
ListApplications()
Constructor for ListApplications |
Method Summary | |
---|---|
void |
execute()
|
void |
setCommand(java.lang.String command)
Disabled in this subclass |
void |
setLang(java.lang.String lang)
Disabled in this subclass |
void |
setScript(java.lang.String script)
Disabled in this subclass |
Methods inherited from class com.ibm.websphere.ant.tasks.WsAdmin |
---|
createArg, setConntype, setFailonerror, setHost, setInstance, setPassword, setPort, setProfile, setProperties, setUser, setWasHome |
Methods inherited from class org.apache.tools.ant.Task |
---|
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
getProject, setProject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ListApplications()
Method Detail |
public void setCommand(java.lang.String command)
setCommand
in class WsAdmin
com.ibm.websphere.ant.tasks.WsAdmin
command
- The command to setpublic void setLang(java.lang.String lang)
setLang
in class WsAdmin
com.ibm.websphere.ant.tasks.WsAdmin
lang
- The lang to setpublic void setScript(java.lang.String script)
setScript
in class WsAdmin
com.ibm.websphere.ant.tasks.WsAdmin
script
- The script to setpublic void execute() throws org.apache.tools.ant.BuildException
execute
in class WsAdmin
Task#execute()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |