public interface DataObjectDeploymentBuilder
DataObjectRepositoryService.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 |
---|---|
DataObjectDeploymentBuilder |
addBytes(String resourceName,
byte[] bytes) |
DataObjectDeploymentBuilder |
addClasspathResource(String resource) |
DataObjectDeploymentBuilder |
addInputStream(String resourceName,
InputStream inputStream) |
DataObjectDeploymentBuilder |
addString(String resourceName,
String text) |
DataObjectDeploymentBuilder |
addZipInputStream(ZipInputStream zipInputStream) |
DataObjectDeploymentBuilder |
category(String category)
Gives the deployment the given category.
|
DataObjectDeployment |
deploy()
Deploys all provided sources to the Data Object engine.
|
DataObjectDeploymentBuilder |
enableDuplicateFiltering()
If set, this deployment will be compared to any previous deployment.
|
DataObjectDeploymentBuilder |
key(String key)
Gives the deployment the given key.
|
DataObjectDeploymentBuilder |
name(String name)
Gives the deployment the given name.
|
DataObjectDeploymentBuilder |
parentDeploymentId(String parentDeploymentId)
Gives the deployment the given parent deployment id.
|
DataObjectDeploymentBuilder |
tenantId(String tenantId)
Gives the deployment the given tenant id.
|
DataObjectDeploymentBuilder addInputStream(String resourceName, InputStream inputStream)
DataObjectDeploymentBuilder addClasspathResource(String resource)
DataObjectDeploymentBuilder addString(String resourceName, String text)
DataObjectDeploymentBuilder addBytes(String resourceName, byte[] bytes)
DataObjectDeploymentBuilder addZipInputStream(ZipInputStream zipInputStream)
DataObjectDeploymentBuilder name(String name)
DataObjectDeploymentBuilder category(String category)
DataObjectDeploymentBuilder key(String key)
DataObjectDeploymentBuilder parentDeploymentId(String parentDeploymentId)
DataObjectDeploymentBuilder tenantId(String tenantId)
DataObjectDeploymentBuilder enableDuplicateFiltering()
DataObjectDeployment deploy()