|
|||||||||
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
The wsadmin task executes the WebSphere command-line administration tool with the specified arguments. The structure of the wsadmin 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 | |
---|---|
WsAdmin()
Constructor for WsEjbDeploy |
Method Summary | |
---|---|
org.apache.tools.ant.types.Commandline.Argument |
createArg()
Creates a nested arg element. |
void |
execute()
|
void |
setCommand(java.lang.String command)
Sets the command. |
void |
setConntype(java.lang.String conntype)
Sets the conntype. |
void |
setFailonerror(boolean failonerror)
Sets the failonerror. |
void |
setHost(java.lang.String host)
Sets the host. |
void |
setInstance(java.lang.String str)
|
void |
setLang(java.lang.String lang)
Sets the lang. |
void |
setPassword(java.lang.String password)
Sets the password. |
void |
setPort(java.lang.String port)
Sets the port. |
void |
setProfile(java.lang.String profile)
Sets the profile. |
void |
setProperties(java.lang.String properties)
Sets the properties. |
void |
setScript(java.lang.String script)
Sets the script. |
void |
setUser(java.lang.String user)
Sets the user. |
void |
setWasHome(java.lang.String wasHome)
Sets the wasHome. |
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 WsAdmin()
Method Detail |
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
Task.execute()
public void setWasHome(java.lang.String wasHome)
wasHome
- The wasHome to setpublic void setFailonerror(boolean failonerror)
failonerror
- The failonerror to setpublic void setCommand(java.lang.String command)
command
- The command to setpublic void setProperties(java.lang.String properties)
properties
- The properties to setpublic void setProfile(java.lang.String profile)
profile
- The profile to setpublic void setScript(java.lang.String script)
script
- The script to setpublic void setLang(java.lang.String lang)
lang
- The lang to setpublic void setConntype(java.lang.String conntype)
conntype
- The conntype to setpublic void setHost(java.lang.String host)
host
- The host to setpublic void setPort(java.lang.String port)
port
- The port to setpublic void setUser(java.lang.String user)
user
- The user to setpublic void setInstance(java.lang.String str)
public void setPassword(java.lang.String password)
password
- The password to setpublic org.apache.tools.ant.types.Commandline.Argument createArg()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |