|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StoredDeploymentPolicy
The information that must be maintained and persisted for a DeploymentPolicy
that is used in deploying a managed domain configuration. This includes the policy deployment source, and the policy type.
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.
It is a container for all the versions of this StoredDeploymentPolicy
. Each successful domain
deployment should persist a domain version element and a corresponding deployment policy version in the repository.
The persisted domain version number should be the same as the deployment version number. The version number is used by
the manager to correlate the domain version to the policy version.
StoredDeploymentPolicy
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT_2009_2010
|
static java.lang.String |
SCM_REVISION
|
Method Summary | |
---|---|
StoredDomain |
getDomain()
Gets the name of the StoredDomain that contains this StoredDeploymentPolicy . |
long |
getLastModifiedOfDeployedSource()
Gets the "last modified" timestamp of the policy source persisted on this deployment policy object. |
java.lang.String |
getPolicyDomainName()
Gets the domain name on the StoredDeploymentPolicy . |
java.lang.String |
getPolicyName()
Returns the policy name that is used along with the domain name to index into the configuration source and point to the deployment policy and associated domain within the configuration source. |
DeploymentPolicyType |
getPolicyType()
Gets the PolicyType on this DeploymentPolicy object. |
URLSource |
getPolicyURL()
Returns the domain configuration source that was persisted on this DeploymentPolicy object. |
java.lang.String |
getPrimaryKey()
Returns the Unique identifier for this StoredDeploymentPolicy. |
StoredDeploymentPolicyVersion |
getVersion(int versionNumber)
Gets the DeploymentPolicyVersion object with the specified version number. |
void |
setLastModifiedOfDeployedSource(long synchDate)
Persists the timestamp of the deployed policy source at the time of domain configuration deployment. |
void |
setPolicyDomainName(java.lang.String policyDomainName)
Sets the Domain name that is to find the deployment domain within the configuration URLSource which will be deployed on the device |
Methods inherited from interface com.ibm.datapower.wamt.dataAPI.StoredDeployablePolicy |
---|
delete, getHighestVersionNumber, getVersions |
Field Detail |
---|
static final java.lang.String COPYRIGHT_2009_2010
static final java.lang.String SCM_REVISION
Method Detail |
---|
StoredDomain getDomain()
StoredDomain
that contains this StoredDeploymentPolicy
.
There is only one DeploymentPolicy persisted for each Domain.
This name should be human-consumable. This is exposed by DeploymentPolicy.getDomain()
StoredDomain
java.lang.String getPrimaryKey()
DeploymentPolicy.getPrimaryKey()
.
There is no setPrimaryKey
exposed since it is managed by the
dataAPI implementation.
getPrimaryKey
in interface Persistable
getPolicyName()
java.lang.String getPolicyDomainName()
StoredDeploymentPolicy
. It is used as an index into
the configuration source. It is called by
DeploymentPolicy.getPolicyDomainName()
.
DeploymentPolicy.setPolicyExport(URLSource, String, String)
void setPolicyDomainName(java.lang.String policyDomainName)
URLSource
which will be deployed on the device
policyDomainName
- domain name that is used index into the configuration source and point to the
domain within the configuration source.getPolicyDomainName()
URLSource getPolicyURL()
Note: In the Local File System implementation, the policy domain name is stored as an string attribute on the policydeployment element.
URLSource
for this StoredDeploymentPolicyDeploymentPolicyType getPolicyType()
DeploymentPolicyType.EXPORT
,
DeploymentPolicyType.XML
,
DeploymentPolicyType.NONE
java.lang.String getPolicyName()
void setLastModifiedOfDeployedSource(long synchDate)
synchDate
- time stamp on the configuration source filegetLastModifiedOfDeployedSource()
long getLastModifiedOfDeployedSource()
setLastModifiedOfDeployedSource(long)
StoredDeploymentPolicyVersion getVersion(int versionNumber)
DeploymentPolicy.getVersion(int)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |