Package org.apache.synapse.endpoints
Class Template
- java.lang.Object
-
- org.apache.synapse.endpoints.Template
-
- All Implemented Interfaces:
SynapseArtifact
public class Template extends Object implements SynapseArtifact
A template with the endpoint information.
-
-
Constructor Summary
Constructors Constructor Description Template()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddParameter(String name)Endpointcreate(TemplateEndpoint templateEndpoint, Properties properties)StringgetArtifactContainerName()List<String>getCommentsList()StringgetDescription()Retrieves the description of the artifactorg.apache.axiom.om.OMElementgetElement()StringgetFileName()StringgetName()List<String>getParameters()booleanisEdited()voidsetArtifactContainerName(String artifactContainerName)voidsetCommentsList(List<String> commentsList)voidsetDescription(String description)Set the description of the artifactvoidsetElement(org.apache.axiom.om.OMElement element)voidsetFileName(String fileName)voidsetIsEdited(boolean isEdited)voidsetName(String name)
-
-
-
Method Detail
-
create
public Endpoint create(TemplateEndpoint templateEndpoint, Properties properties)
-
getName
public String getName()
-
setName
public void setName(String name)
-
addParameter
public void addParameter(String name)
-
setElement
public void setElement(org.apache.axiom.om.OMElement element)
-
getElement
public org.apache.axiom.om.OMElement getElement()
-
setDescription
public void setDescription(String description)
Description copied from interface:SynapseArtifactSet the description of the artifact- Specified by:
setDescriptionin interfaceSynapseArtifact- Parameters:
description- tobe set to the artifact
-
getDescription
public String getDescription()
Description copied from interface:SynapseArtifactRetrieves the description of the artifact- Specified by:
getDescriptionin interfaceSynapseArtifact- Returns:
- description of the artifact
-
getFileName
public String getFileName()
-
setFileName
public void setFileName(String fileName)
-
getArtifactContainerName
public String getArtifactContainerName()
-
setArtifactContainerName
public void setArtifactContainerName(String artifactContainerName)
-
isEdited
public boolean isEdited()
-
setIsEdited
public void setIsEdited(boolean isEdited)
-
-