org.activiti
Interface DeploymentBuilder
public interface DeploymentBuilder
builder for creating new deployments.
A builder instance can be obtained through ProcessService.createDeployment().
Multiple resources can be added to one deployment before calling the deploy()
operation.
After deploying, no more changes can be made to the returned deployment
and the builder instance can be disposed.
- Author:
- Tom Baeyens, Joram Barrez
addInputStream
DeploymentBuilder addInputStream(java.lang.String resourceName,
java.io.InputStream inputStream)
addClasspathResource
DeploymentBuilder addClasspathResource(java.lang.String resource)
addString
DeploymentBuilder addString(java.lang.String resourceName,
java.lang.String text)
addZipInputStream
DeploymentBuilder addZipInputStream(java.util.zip.ZipInputStream zipInputStream)
name
DeploymentBuilder name(java.lang.String name)
deploy
Deployment deploy()
Copyright © 2010 Alfresco. All Rights Reserved.