Interface DataObjectDeploymentBuilder
-
- All Known Implementing Classes:
DataObjectDeploymentBuilderImpl
public interface DataObjectDeploymentBuilderBuilder for creating new deployments, similar to the data object deployment builder. A builder instance can be obtained throughDataObjectRepositoryService.createDeployment(). Multiple resources can be added to one deployment before calling thedeploy()operation. After deploying, no more changes can be made to the returned deployment and the builder instance can be disposed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataObjectDeploymentBuilderaddBytes(String resourceName, byte[] bytes)DataObjectDeploymentBuilderaddClasspathResource(String resource)DataObjectDeploymentBuilderaddInputStream(String resourceName, InputStream inputStream)DataObjectDeploymentBuilderaddString(String resourceName, String text)DataObjectDeploymentBuilderaddZipInputStream(ZipInputStream zipInputStream)DataObjectDeploymentBuildercategory(String category)Gives the deployment the given category.DataObjectDeploymentdeploy()Deploys all provided sources to the Data Object engine.DataObjectDeploymentBuilderenableDuplicateFiltering()If set, this deployment will be compared to any previous deployment.DataObjectDeploymentBuilderkey(String key)Gives the deployment the given key.DataObjectDeploymentBuildername(String name)Gives the deployment the given name.DataObjectDeploymentBuilderparentDeploymentId(String parentDeploymentId)Gives the deployment the given parent deployment id.DataObjectDeploymentBuildertenantId(String tenantId)Gives the deployment the given tenant id.
-
-
-
Method Detail
-
addInputStream
DataObjectDeploymentBuilder addInputStream(String resourceName, InputStream inputStream)
-
addClasspathResource
DataObjectDeploymentBuilder addClasspathResource(String resource)
-
addString
DataObjectDeploymentBuilder addString(String resourceName, String text)
-
addBytes
DataObjectDeploymentBuilder addBytes(String resourceName, byte[] bytes)
-
addZipInputStream
DataObjectDeploymentBuilder addZipInputStream(ZipInputStream zipInputStream)
-
name
DataObjectDeploymentBuilder name(String name)
Gives the deployment the given name.
-
category
DataObjectDeploymentBuilder category(String category)
Gives the deployment the given category.
-
key
DataObjectDeploymentBuilder key(String key)
Gives the deployment the given key.
-
parentDeploymentId
DataObjectDeploymentBuilder parentDeploymentId(String parentDeploymentId)
Gives the deployment the given parent deployment id.
-
tenantId
DataObjectDeploymentBuilder tenantId(String tenantId)
Gives the deployment the given tenant id.
-
enableDuplicateFiltering
DataObjectDeploymentBuilder enableDuplicateFiltering()
If set, this deployment will be compared to any previous deployment. This means that every (non-generated) resource will be compared with the provided resources of this deployment.
-
deploy
DataObjectDeployment deploy()
Deploys all provided sources to the Data Object engine.
-
-