public interface DeploymentManager
Modifier and Type | Method and Description |
---|---|
void |
deploy(Service service,
Target target,
java.util.List<com.centrasite.jaxr.importexport.IEventCallback> callbacks)
Deploys the given Service instance in the given targets.
|
java.util.List<Target> |
getTargets()
Gets the List of configured Targets.
|
void |
grantAccessToEveryOne(Service serviceToBeDeployed)
Triggers a policy which sets permissions to given assets & its dependents.
|
void |
revokeConsumability(Service serviceToBeUnDeployed)
Triggers policy which removes the permissions configured in action of given asset.
|
void |
undeploy(Service service,
Target target,
java.util.List<com.centrasite.jaxr.importexport.IEventCallback> callbacks)
Undeploy the given Service instance from the given target.
|
java.util.List<Target> getTargets() throws CLLException
Target
s sorted by name.CLLException
- If an error occurs while getting the targets listvoid deploy(Service service, Target target, java.util.List<com.centrasite.jaxr.importexport.IEventCallback> callbacks) throws CLLException
service
- the Service
instance that needs to be deployedtarget
- The Target
PEP instance in which the given service is deployedcallbacks
- The List
of IEventCallback
instancesCLLException
- If an error occurs while deploying the service in the given targetvoid undeploy(Service service, Target target, java.util.List<com.centrasite.jaxr.importexport.IEventCallback> callbacks) throws CLLException
service
- the Service
instance that needs to be undeployedtarget
- the Target
PEP instances in which the given service is undeployedcallbacks
- The List
of IEventCallback
instancesCLLException
- If an error occurs in undeploying the given service from the targetvoid grantAccessToEveryOne(Service serviceToBeDeployed) throws CLLException
serviceToBeDeployed
- asset which is published successfully.CLLException
- In case of a failure to grant access to every one.void revokeConsumability(Service serviceToBeUnDeployed) throws CLLException
serviceToBeUnDeployed
- asset which is unpublished successfully.CLLException
- In case of a failure to revoke the consumability