WebSphere:*,type=AntAgent
MBean AntAgent
Operation Summary | |
---|---|
void | invokeAnt( Invoke an ant script. |
byte[] | getScript( Retrieve a script or script artifact from the agent. |
void | putScript( Put a script or script artifact onto the agent. |
byte[] | getLastLog() Retrieve the log generated the last time invokeAnt was called. |
Operation Detail |
---|
public void invokeAnt(
java.lang.String[] properties,
java.lang.String taskFilePath,
java.lang.String antTarget
)
Invoke an ant script. The ant script must already be present on the agent.
properties
-
A string array of properties to use in the invocation. Each property is of the form name=value taskFilePath
-
The path of the script file, relative to the working directory antTarget
-
(optional) The target within the script to invoke.
administrator
operator
public byte[] getScript(
java.lang.String filePath
)
Retrieve a script or script artifact from the agent.
filePath
-
The path of the script file, relative to the working directory
administrator
operator
public void putScript(
java.lang.String filePath,
byte[] fileContents
)
Put a script or script artifact onto the agent.
filePath
-
The path of where to put the script file, relative to the working directory fileContents
-
The contents of the script file
administrator
operator
public byte[] getLastLog()
Retrieve the log generated the last time invokeAnt was called. If the last call to invokeAnt() did not generate a log, or invokeAnt() has not yet been called, this method returns null.
administrator
operator