Interface Policy
-
- All Superinterfaces:
GovernanceArtifact
- All Known Implementing Classes:
PolicyImpl
public interface Policy extends GovernanceArtifact
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetPolicyContent()Method to obtain the policy element of this policy artifact.voidsetPolicyContent(String policyContent)Method to set the policy element of this policy artifact.-
Methods inherited from interface org.wso2.carbon.governance.api.common.dataobjects.GovernanceArtifact
addAssociation, addAssociation, addAttribute, addBidirectionalAssociation, addTag, addTags, attach, attach, attachLifecycle, checkLCItem, compareTo, detach, getAllCheckListItemNames, getAllLifecycleActions, getAllVotingItems, getAllVotingItems, getAssociatedArtifactIds, getAssociations, getAttribute, getAttributeKeys, getAttributes, getCurrentStateDuration, getDependencies, getDependents, getId, getLifecycleName, getLifecycleNames, getLifecycleState, getLifecycleState, getMediaType, getPath, getPropertyKeys, getQName, invokeAction, invokeAction, isLCItemChecked, isRegistryAwareArtifact, isVoted, isVoted, listTags, removeAssociation, removeAssociation, removeAttribute, removeTag, removeTags, setAttribute, setAttributes, setId, setQName, uncheckLCItem, uniqueTo, unvote, unvote, vote, vote
-
-
-
-
Method Detail
-
getPolicyContent
String getPolicyContent()
Method to obtain the policy element of this policy artifact.- Returns:
- the policy element.
-
setPolicyContent
void setPolicyContent(String policyContent)
Method to set the policy element of this policy artifact.- Parameters:
policyContent- the policy element.
-
-