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(java.lang.String resourceName, byte[] bytes)DataObjectDeploymentBuilderaddClasspathResource(java.lang.String resource)DataObjectDeploymentBuilderaddInputStream(java.lang.String resourceName, java.io.InputStream inputStream)DataObjectDeploymentBuilderaddString(java.lang.String resourceName, java.lang.String text)DataObjectDeploymentBuilderaddZipInputStream(java.util.zip.ZipInputStream zipInputStream)DataObjectDeploymentBuildercategory(java.lang.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(java.lang.String key)Gives the deployment the given key.DataObjectDeploymentBuildername(java.lang.String name)Gives the deployment the given name.DataObjectDeploymentBuilderparentDeploymentId(java.lang.String parentDeploymentId)Gives the deployment the given parent deployment id.DataObjectDeploymentBuildertenantId(java.lang.String tenantId)Gives the deployment the given tenant id.
-
-
-
Method Detail
-
addInputStream
DataObjectDeploymentBuilder addInputStream(java.lang.String resourceName, java.io.InputStream inputStream)
-
addClasspathResource
DataObjectDeploymentBuilder addClasspathResource(java.lang.String resource)
-
addString
DataObjectDeploymentBuilder addString(java.lang.String resourceName, java.lang.String text)
-
addBytes
DataObjectDeploymentBuilder addBytes(java.lang.String resourceName, byte[] bytes)
-
addZipInputStream
DataObjectDeploymentBuilder addZipInputStream(java.util.zip.ZipInputStream zipInputStream)
-
name
DataObjectDeploymentBuilder name(java.lang.String name)
Gives the deployment the given name.
-
category
DataObjectDeploymentBuilder category(java.lang.String category)
Gives the deployment the given category.
-
key
DataObjectDeploymentBuilder key(java.lang.String key)
Gives the deployment the given key.
-
parentDeploymentId
DataObjectDeploymentBuilder parentDeploymentId(java.lang.String parentDeploymentId)
Gives the deployment the given parent deployment id.
-
tenantId
DataObjectDeploymentBuilder tenantId(java.lang.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.
-
-