|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StoredDeploymentPolicyVersion
The related information that must be
maintained and persisted for a DeploymentPolicyVersion
.
It is used during domain configuration deployment to a DataPower device. The
policy name, the domain name, policy type,
and configuration source image information are persisted in the repository.
Note: The deployment policy version element is contained by a deployment policy element in the WAMT.repository.xml file with the Local File System implementation.
The configuration source is a reference to a configuration blob from a device
that should be deployed for this Domain
.
When using a configuration source, a
domainName and a policy object name serve as an "index" into the source, pointing to the domain, and
associated deployment policy within the configuration source blob.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT_2009_2010
|
static java.lang.String |
SCM_REVISION
|
Method Summary | |
---|---|
StoredDeploymentPolicy |
getDeploymentPolicy()
Returns the persisted StoredDeploymentPolicy that contains this version. |
java.lang.String |
getPolicyDomainName()
Gets the domain name on the StoredDeploymentPolicyVersion . |
java.lang.String |
getPolicyName()
Gets the policy object name persisted on the StoredDeploymentPolicyVersion object. |
DeploymentPolicyType |
getPolicyType()
Gets the DeploymentPolicyType on the StoredDeploymentPolicyVersion . |
java.lang.String |
getPrimaryKey()
Returns Unique identifier for this StoredDeploymentPolicyVersion. |
void |
setPolicyDomainName(java.lang.String policyDomain)
Sets the Policy Domain name on the StoredDeploymentPolicyVersion object which can be used along
with the configuration source, domain name and policy object name during domain configuration
deployment. |
void |
setPolicyName(java.lang.String policyName)
Sets the policy object name on the StoredDeploymentPolicyVersion object which can be used along
with the configuration source, domain name and policy object name during domain configuration
deployment. |
Methods inherited from interface com.ibm.datapower.wamt.dataAPI.StoredVersion |
---|
delete, getBlob, getTimestamp, getUserComment, getVersionedObject, getVersionNumber, setUserComment |
Field Detail |
---|
static final java.lang.String COPYRIGHT_2009_2010
static final java.lang.String SCM_REVISION
Method Detail |
---|
java.lang.String getPrimaryKey()
DeploymentPolicyVersion.getPrimaryKey()
.
There is no setPrimaryKey
exposed since it is managed by the
dataAPI implementation.
Note: The Local File System implementation uses the unique identifier of the StoredDeploymentPolicy
combined with the version number of this StoredDeploymentPolicyVersion
.
getPrimaryKey
in interface Persistable
,
StoredDeploymentPolicy.getPrimaryKey()
StoredDeploymentPolicy getDeploymentPolicy()
StoredDeploymentPolicy
that contains this version. This is invoked by
DeploymentPolicyVersion.getDeploymentPolicy()
.
Note: For the Local File System implementation, the deploymentpolicy element contains version elements in the WAMT.repository.xml file.
java.lang.String getPolicyDomainName()
StoredDeploymentPolicyVersion
. It is used as an index into
the configuration source. A version is created with each domain deployment. It is called by
DeploymentPolicyVersion.getPolicyDomainName()
.
Note: For the Local File System implementation, the policy domain name is stored as an attribute on the policydeployment version element.
DeploymentPolicy.setPolicyExport(com.ibm.datapower.wamt.clientAPI.URLSource, String, String)
DeploymentPolicyType getPolicyType()
StoredDeploymentPolicyVersion
. It is used internally
and cannot be set by users of the clientAPI.
Note: The policy type is an enumerated type which is stored as an attribute on the policydeployment version element in Local File System implementation,
StoredVersion.getVersionedObject()
,
DeploymentPolicyType.XML
,
DeploymentPolicyType.EXPORT
java.lang.String getPolicyName()
StoredDeploymentPolicyVersion
object. This is
exposed by DeploymentPolicyVersion.getPolicyName()
.
Note: The policy name is stored as an attribute on the policydeployment version element by the Local File System implementation,
StoredVersion.getVersionedObject()
,
DeploymentPolicy.setPolicyExport(com.ibm.datapower.wamt.clientAPI.URLSource, String, String)
void setPolicyName(java.lang.String policyName)
StoredDeploymentPolicyVersion
object which can be used along
with the configuration source, domain name and policy object name during domain configuration
deployment. This is invoked internally by by clientAPI when a domain source configuration is
deployed.
Note: The policy name is stored as an attribute on the policydeployment version element by the Local File System implementation,
policyName
- the policy name that is used along with the domain name to
index into the configuration source and points to the domain, and
associated deployment policy within the configuration source.DeploymentPolicy.setPolicyExport(com.ibm.datapower.wamt.clientAPI.URLSource, String, String)
,
StoredVersion.getVersionedObject()
void setPolicyDomainName(java.lang.String policyDomain)
StoredDeploymentPolicyVersion
object which can be used along
with the configuration source, domain name and policy object name during domain configuration
deployment.
Note: The policy domain name is stored as an attribute on the policydeployment version element by the Local File System implementation.
policyDomain
- the policy domain name that serves as an "index" into the
configuration source, and points
to the domain within the configuration source blob.StoredVersion.getVersionedObject()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |