public class EndpointImpl extends GovernanceArtifactImpl implements Endpoint
attributes, properties| Constructor and Description |
|---|
EndpointImpl(String id,
org.wso2.carbon.registry.core.Registry registry)
Constructor accepting resource path, identifier and a registry instance.
|
EndpointImpl(String url,
String id)
Constructor accepting resource identifier and the endpoint URL.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.axiom.om.OMElement |
buildOMElement(String content) |
QName |
getQName()
Returns the QName of the artifact.
|
String |
getUrl()
Method to obtain the endpoint URL.
|
void |
loadEndpointDetails()
Method to load the endpoint details into this artifact.
|
void |
setQName(QName qName)
Set the QName of the artifact.
|
addAssociation, addAssociation, addAttribute, addBidirectionalAssociation, addTag, addTags, associateRegistry, attach, attach, attachLifecycle, checkLCItem, checkRegistryResourceAssociation, compareTo, create, create, create, create, createVersion, detach, detachLifecycle, equals, getAllCheckListItemNames, getAllLifecycleActions, getAllVotingItems, getAllVotingItems, getArtifactPath, getAssociatedArtifactIds, getAssociatedRegistry, getAssociations, getAttribute, getAttributeKeys, getAttributes, getCurrentStateDuration, getDependencies, getDependents, getId, getLcName, getLcState, getLifecycleName, getLifecycleNames, getLifecycleState, getLifecycleState, getMediaType, getPath, getPropertyKeys, getUniqueAttributes, invokeAction, invokeAction, isLCItemChecked, isRegistryAwareArtifact, isVoted, isVoted, listTags, removeAssociation, removeAssociation, removeAttribute, removeTag, removeTags, setArtifactPath, setAttribute, setAttributes, setId, setLcName, setLcState, setUniqueAttributes, toString, uncheckLCItem, uniqueTo, unvote, unvote, updatePath, updatePath, vote, voteclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAssociation, 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, invokeAction, invokeAction, isLCItemChecked, isRegistryAwareArtifact, isVoted, isVoted, listTags, removeAssociation, removeAssociation, removeAttribute, removeTag, removeTags, setAttribute, setAttributes, setId, uncheckLCItem, uniqueTo, unvote, unvote, vote, votepublic EndpointImpl(String id, org.wso2.carbon.registry.core.Registry registry) throws GovernanceException
id - the resource identifier.registry - the registry instance.GovernanceException - if the construction fails.public String getUrl()
public QName getQName()
GovernanceArtifactgetQName in interface GovernanceArtifactpublic void setQName(QName qName) throws GovernanceException
GovernanceArtifactsetQName in interface GovernanceArtifactqName - of the artifactGovernanceExceptionpublic void loadEndpointDetails()
throws GovernanceException
GovernanceException - if the operation failed.public org.apache.axiom.om.OMElement buildOMElement(String content) throws GovernanceException
GovernanceExceptionCopyright © 2017 WSO2. All Rights Reserved.