org.ow2.clif.console.lib.batch
Class DeployCmd
java.lang.Object
org.ow2.clif.console.lib.batch.DeployCmd
public class DeployCmd
- extends java.lang.Object
Batch command to deploy a test plan as defined in a given test plan file.
The deployed test plan is given a name (registered in the Registry) for
further reference with other batch commands. A CLIF registry is created,
as well as a default CLIF server, when no one can be found.
- Author:
- Joan Chaumont, Bruno Dillenseger
Method Summary |
static void |
main(java.lang.String[] args)
|
static int |
run(java.lang.String deployName,
java.lang.String fileName)
Deploys a test plan (i.e. a set of blades among CLIF servers) according to the given test plan definition. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeployCmd
public DeployCmd()
main
public static void main(java.lang.String[] args)
- Parameters:
args
- args[0] is the name for the deployed test plan,
args[1] is the file name of the test plan definition to be deployed- See Also:
run(String, String)
run
public static int run(java.lang.String deployName,
java.lang.String fileName)
- Deploys a test plan (i.e. a set of blades among CLIF servers) according to the given test plan definition.
- Parameters:
deployName
- name for the new deployed test planfileName
- file name of the test plan definition to be deployed
- Returns:
- command status code (@see BatchUtil)