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
)
properties
-
A string array of properties to use in the invocation. Each property is of the form name=valuetaskFilePath
-
The path of the script file, relative to the working directoryantTarget
-
(optional) The target within the script to invoke.public byte[] getScript(java.lang.String filePath
)
filePath
-
The path of the script file, relative to the working directorypublic void putScript(java.lang.String filePath,
byte[] fileContents
)
filePath
-
The path of where to put the script file, relative to the working directoryfileContents
-
The contents of the script filepublic byte[] getLastLog()