|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.ibm.websphere.ant.tasks.WsAdmin
public class WsAdmin
The wsadmin task executes the WebSphere command-line administration tool with the specified arguments. The structure of the wsadmin task is shown below:
Field Summary |
---|
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. |
org.apache.tools.ant.types.Commandline.Argument |
createJvmarg()
Creates a nested jvmArg element. |
void |
execute()
|
boolean |
isDebug()
|
void |
setCommand(java.lang.String command)
Sets the command. |
void |
setConntype(java.lang.String conntype)
Sets the conntype. |
void |
setDebug(boolean debug)
|
void |
setFailonerror(boolean failonerror)
Sets the failonerror. |
void |
setFileEncoding(java.lang.String fileEncoding)
|
void |
setHost(java.lang.String host)
Sets the host. |
void |
setJvmMaxMemory(java.lang.String jvmMaxMemory)
Sets the jvmMaxMemory. |
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 |
setProfileName(java.lang.String string)
Sets the server profile name. |
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, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
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
org.apache.tools.ant.BuildException
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 setProfileName(java.lang.String string)
profileName
- The server profile name 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 setPassword(java.lang.String password)
password
- The password to setpublic org.apache.tools.ant.types.Commandline.Argument createArg()
public org.apache.tools.ant.types.Commandline.Argument createJvmarg()
public void setJvmMaxMemory(java.lang.String jvmMaxMemory)
jvmMaxMemory
- The JVM MaxMemory to setpublic void setDebug(boolean debug)
debug
- public boolean isDebug()
public void setFileEncoding(java.lang.String fileEncoding)
fileEncoding
- The fileEncoding to set.
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |