Interface Policy
- All Superinterfaces:
GovernanceArtifact
- All Known Implementing Classes:
PolicyImpl
-
Method Summary
Modifier and TypeMethodDescriptionMethod 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 Details
-
getPolicyContent
String getPolicyContent()Method to obtain the policy element of this policy artifact.- Returns:
- the policy element.
-
setPolicyContent
Method to set the policy element of this policy artifact.- Parameters:
policyContent- the policy element.
-