| Deploys a new application.
This method blocks until the application is installed.
If an application of the same name has been already installed,
this method re-deploys it.
Parameters: name - name of the new application, such as "foo."A directory of this name will be created. throws: FailedOperationException - If for some reason the operation failed, such as an I/O error.A WorkflowApplication object that represents the deployed application.It maybe in the WorkflowState.RUNNING running state or inthe WorkflowState.STOPPED stopped state, depending on various factors,such as whether the application is configured enough or whether it was runningbefore (in case of update.) |