public class DeploymentData
extends java.lang.Object
Constructor and Description |
---|
DeploymentData(java.util.List<com.centrasite.jaxr.importexport.IEventCallback> callbacks,
java.util.Collection<Service> services) |
Modifier and Type | Method and Description |
---|---|
void |
addDeployService(javax.xml.registry.infomodel.RegistryObject service)
Add a new service to be deployed to gateway
|
int |
getBatchSize()
Get batch junk size (number of services for one deployment).
|
java.util.List<com.centrasite.jaxr.importexport.IEventCallback> |
getCallbacks() |
javax.xml.registry.infomodel.RegistryObject |
getGateway() |
java.util.List<javax.xml.registry.infomodel.RegistryObject> |
getServicesToBeDeployed() |
int |
getTimeout()
Get deployment timeout.
|
boolean |
isActivateOnDeployment()
Checks whether the specified gateway object is within the list of API gateways to activate
|
void |
setApiGatewayTargetsToActivate(java.util.Collection<java.lang.String> apiGatewayTargetsToActivate) |
void |
setBatchSize(int batchSize) |
void |
setGateway(javax.xml.registry.infomodel.RegistryObject gateway) |
void |
setServicesToBeDeployed(java.util.List<javax.xml.registry.infomodel.RegistryObject> servicesToBeDeployed) |
void |
setTimeout(int timeout)
Set a customized deployment timeout value
|
java.lang.String |
toString() |
public DeploymentData(java.util.List<com.centrasite.jaxr.importexport.IEventCallback> callbacks, java.util.Collection<Service> services) throws CLLException
callbacks
- callbacksservices
- list of csom services to be deployedCLLException
public java.util.List<com.centrasite.jaxr.importexport.IEventCallback> getCallbacks()
public java.util.List<javax.xml.registry.infomodel.RegistryObject> getServicesToBeDeployed()
public final void setServicesToBeDeployed(java.util.List<javax.xml.registry.infomodel.RegistryObject> servicesToBeDeployed)
public void addDeployService(javax.xml.registry.infomodel.RegistryObject service)
service
- a virtual servicepublic javax.xml.registry.infomodel.RegistryObject getGateway()
public void setGateway(javax.xml.registry.infomodel.RegistryObject gateway)
gateway
- Gateway where the services to be deployedpublic void setApiGatewayTargetsToActivate(java.util.Collection<java.lang.String> apiGatewayTargetsToActivate)
apiGatewayTargetsToActivate
- key list of API gateways which should activate APIs on deploypublic boolean isActivateOnDeployment() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
public int getBatchSize()
public void setBatchSize(int batchSize)
public int getTimeout()
public void setTimeout(int timeout)
timeout
- timeout value in secondspublic java.lang.String toString()
toString
in class java.lang.Object