|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.datapower.wamt.clientAPI.ServiceConfiguration
public class ServiceConfiguration
The ServiceConfiguration is created for the services in the source configuration to be deployed.
ServiceDeployment
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT_2012_2013
|
Constructor Summary | |
---|---|
ServiceConfiguration(URLSource urlSource)
Construct a ServiceConfiguration with the URL of source configuration. |
Method Summary | |
---|---|
ConfigService[] |
getAvailableServices(Device device)
Get all available services in the Service Configuration for deployment. |
ConfigService[] |
getServicesForDeployment()
Get the services to be deployed. |
void |
setServicesForDeployment(ConfigService[] services)
Set the services to be deployed. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT_2012_2013
Constructor Detail |
---|
public ServiceConfiguration(URLSource urlSource) throws java.net.URISyntaxException
urlSource
- is a URLSource that points to the configuration that should be deployed to the Device for service deploymentMethod Detail |
---|
public ConfigService[] getAvailableServices(Device device) throws AMPException, DeletedException, UnsuccessfulOperationException, java.io.IOException, DeletedException, NotExistException, InUseException, InvalidParameterException
setServicesForDeployment(ConfigService[])
Note: The firmware version of parameter device must be 5.0.0 or higher.
device
- The device is used to get the available service in the source configuration
public void setServicesForDeployment(ConfigService[] services) throws NotExistException, InvalidParameterException
getAvailableServices(Device)
,
meaning the null is not allowed.
By default, all services in the source configuration (returned from getAvailableServices(Device)
)
will be deployed if this method is not called.
services
- A service array contains service(s) to be deployedgetServicesForDeployment()
public ConfigService[] getServicesForDeployment()
getAvailableServices(Device)
if
setServicesForDeployment(ConfigService[])
was not invoked.
setServicesForDeployment(ConfigService[])
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |