View Javadoc
1 package org.smartcomps.twister.deployer; 2 3 import org.smartcomps.twister.deployer.exception.DeploymentException; 4 5 import java.io.InputStream; 6 import java.io.File; 7 import java.net.URL; 8 9 /*** 10 * Allows the deployment of a process xml description. 11 * Implementations of TwisterDeployer interface assume 12 * that the process xml description is valid and compliant with the 13 * specification. 14 */ 15 public interface TwisterDeployer { 16 /*** 17 * deploys the process in the engine from a process description as String 18 * @param xmlProcessDescription 19 * @throws DeploymentException 20 */ 21 public void deploy(String xmlProcessDescription) throws DeploymentException; 22 23 /*** 24 * deploys the process in the engine from a process description as InputStream 25 * @param xmlProcessDescription 26 * @throws DeploymentException 27 */ 28 public void deploy(InputStream xmlProcessDescription) throws DeploymentException; 29 30 /*** 31 * deploy the process in the engine from a process description as URL 32 * @param xmlProcessDescription 33 * @throws DeploymentException 34 */ 35 public void deploy(URL xmlProcessDescription) throws DeploymentException; 36 37 /*** 38 * deploy the process in the engine from a process description as File 39 * @param xmlProcessDescription 40 * @throws DeploymentException 41 */ 42 public void deploy(File xmlProcessDescription) throws DeploymentException; 43 }

This page was automatically generated by Maven