com.ibm.websphere.ant.tasks
Class ListApplications
- java.lang.Object
Task
com.ibm.websphere.ant.tasks.WsAdmin
com.ibm.websphere.ant.tasks.ListApplications
- public class ListApplications
- extends WsAdmin
The properties attribute is optional and it contains a java properties file containing attributes to set in the JVM System properties
The profile attribute is optional and it contains a script file to be executed before the main command or file
The profileName attribute is optional and it contains the name of the server profile to be used
The conntype attribute is optional and it specifies the type of connection to be used. The Default type is SOAP. The valid values are SOAP, RMI, JMS, and NONE. NONE means that no server connection is made. The host attribute is optional and only specified if the conntype is specified. It contains the hostname of the machine to connect to
The port attribute is optional and only specified if the conntype is specified. It contains the port on the host to connect to
The user attribute is optional and contains the user ID to authenticate with
The password attribute is optional and contains the password to authenticate with
Constructor Summary
Constructor and Description |
---|
ListApplications()
Constructor for ListApplications
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
execute()
|
|
setCommand(java.lang.String command)
Disabled in this subclass
|
|
setLang(java.lang.String lang)
Disabled in this subclass
|
|
setScript(java.lang.String script)
Disabled in this subclass
|
Methods inherited from class com.ibm.websphere.ant.tasks.WsAdmin |
---|
createArg, 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
ListApplications
- public ListApplications()
Constructor for ListApplications
Method Detail
setCommand
- public void setCommand(java.lang.String command)
Disabled in this subclass
Overrides:
setCommand
in class WsAdmin
Parameters:
command
- The command to set setLang
- public void setLang(java.lang.String lang)
Disabled in this subclass
Parameters:
lang
- The lang to set setScript
- public void setScript(java.lang.String script)
Disabled in this subclass
Parameters:
script
- The script to set execute
- public void execute()
- throws BuildException
Throws:
BuildException
See Also:
Task#execute()