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 void
addParameter(String name)
Endpoint
create(TemplateEndpoint templateEndpoint, Properties properties)
String
getArtifactContainerName()
List<String>
getCommentsList()
String
getDescription()
Retrieves the description of the artifactorg.apache.axiom.om.OMElement
getElement()
String
getFileName()
String
getName()
List<String>
getParameters()
boolean
isEdited()
void
setArtifactContainerName(String artifactContainerName)
void
setCommentsList(List<String> commentsList)
void
setDescription(String description)
Set the description of the artifactvoid
setElement(org.apache.axiom.om.OMElement element)
void
setFileName(String fileName)
void
setIsEdited(boolean isEdited)
void
setName(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:SynapseArtifact
Set the description of the artifact- Specified by:
setDescription
in interfaceSynapseArtifact
- Parameters:
description
- tobe set to the artifact
-
getDescription
public String getDescription()
Description copied from interface:SynapseArtifact
Retrieves the description of the artifact- Specified by:
getDescription
in 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)
-
-