public interface FormDeploymentBuilder
org.activiti.form.engine.FormRepositoryService#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.| Modifier and Type | Method and Description |
|---|---|
FormDeploymentBuilder |
addClasspathResource(String resource) |
FormDeploymentBuilder |
addFormBytes(String resourceName,
byte[] formBytes) |
FormDeploymentBuilder |
addFormDefinition(String resourceName,
FormDefinition formDefinition) |
FormDeploymentBuilder |
addInputStream(String resourceName,
InputStream inputStream) |
FormDeploymentBuilder |
addString(String resourceName,
String text) |
FormDeploymentBuilder |
category(String category)
Gives the deployment the given category.
|
FormDeployment |
deploy()
Deploys all provided sources to the Activiti engine.
|
FormDeploymentBuilder |
name(String name)
Gives the deployment the given name.
|
FormDeploymentBuilder |
parentDeploymentId(String parentDeploymentId)
Gives the deployment the given parent deployment id.
|
FormDeploymentBuilder |
tenantId(String tenantId)
Gives the deployment the given tenant id.
|
FormDeploymentBuilder addInputStream(String resourceName, InputStream inputStream)
FormDeploymentBuilder addClasspathResource(String resource)
FormDeploymentBuilder addString(String resourceName, String text)
FormDeploymentBuilder addFormBytes(String resourceName, byte[] formBytes)
FormDeploymentBuilder addFormDefinition(String resourceName, FormDefinition formDefinition)
FormDeploymentBuilder name(String name)
FormDeploymentBuilder category(String category)
FormDeploymentBuilder tenantId(String tenantId)
FormDeploymentBuilder parentDeploymentId(String parentDeploymentId)
FormDeployment deploy()
Copyright © 2017 Alfresco. All rights reserved.