Class DefaultEndpoint
- java.lang.Object
-
- org.wso2.carbon.endpoint.ui.endpoints.Endpoint
-
- org.wso2.carbon.endpoint.ui.endpoints.defaultendpoint.DefaultEndpoint
-
-
Constructor Summary
Constructors Constructor Description DefaultEndpoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
build(org.apache.axiom.om.OMElement elem, boolean isAnonymous)
Populate this endpoint from the Synapse endpoint configuration.void
build(org.apache.synapse.endpoints.Template template, org.apache.synapse.config.xml.endpoints.DefinitionFactory factory)
Populate this endpoint from the Synapse endpoint template configuration.String
getDescription()
String
getEpName()
String
getErrorCodes()
String
getFormat()
String
getMaxSusDuration()
String
getProperties()
String
getRetryDelay()
String
getRetryDisabledErrorCodes()
String
getRetryTimeout()
String
getRmPolKey()
String
getSecPolKey()
String
getSuspendDurationOnFailure()
String
getSusProgFactor()
String
getTagLocalName()
Get the tag name of the endpointString
getTimedOutErrorCodes()
String
getTimeoutAct()
String
getTimeoutActionDur()
boolean
isGet()
boolean
isMtom()
boolean
isPox()
boolean
isRest()
boolean
isSepList()
boolean
isSoap11()
boolean
isSoap12()
boolean
isSwa()
boolean
isWsadd()
boolean
isWsrm()
Deprecated.boolean
isWssec()
org.apache.axiom.om.OMElement
serialize(org.apache.axiom.om.OMElement parent)
Serialize this endpoint in to the corresponding Synapse endpoint configuration.void
setDescription(String description)
void
setEpName(String name)
void
setErrorCodes(String errorCodes)
void
setFormat(String format)
void
setGet(boolean get)
void
setMaxSusDuration(String maxSusDuration)
void
setMtom(boolean mtom)
void
setPox(boolean pox)
void
setProperties(String properties)
void
setRest(boolean rest)
void
setRetryDelay(String retryDelay)
void
setRetryDisabledErrorCodes(String retryDisabledErrorCodes)
void
setRetryTimeout(String retryTimeout)
void
setRmPolKey(String rmPolKey)
void
setSecPolKey(String secPolKey)
void
setSepList(boolean sepList)
void
setSoap11(boolean soap11)
void
setSoap12(boolean soap12)
void
setSuspendDurationOnFailure(String suspendDurationOnFailure)
void
setSusProgFactor(String susProgFactor)
void
setSwa(boolean swa)
void
setTimedOutErrorCodes(String timedOutErrorCodes)
void
setTimeoutAct(String timeoutAct)
void
setTimeoutActionDur(String timeoutActionDur)
void
setWsadd(boolean wsadd)
void
setWsrm(boolean wsrm)
Deprecated.void
setWssec(boolean wssec)
-
Methods inherited from class org.wso2.carbon.endpoint.ui.endpoints.Endpoint
getEmptyEndpointElement
-
-
-
-
Method Detail
-
getTagLocalName
public String getTagLocalName()
Description copied from interface:IEndpoint
Get the tag name of the endpoint- Returns:
- the xml element tag name
-
getEpName
public String getEpName()
-
setEpName
public void setEpName(String name)
-
getSuspendDurationOnFailure
public String getSuspendDurationOnFailure()
-
setSuspendDurationOnFailure
public void setSuspendDurationOnFailure(String suspendDurationOnFailure)
-
getFormat
public String getFormat()
-
setFormat
public void setFormat(String format)
-
isSwa
public boolean isSwa()
-
setSwa
public void setSwa(boolean swa)
-
isMtom
public boolean isMtom()
-
setMtom
public void setMtom(boolean mtom)
-
isSoap11
public boolean isSoap11()
-
setSoap11
public void setSoap11(boolean soap11)
-
isSoap12
public boolean isSoap12()
-
setSoap12
public void setSoap12(boolean soap12)
-
isRest
public boolean isRest()
-
setRest
public void setRest(boolean rest)
-
isGet
public boolean isGet()
-
setGet
public void setGet(boolean get)
-
isPox
public boolean isPox()
-
setPox
public void setPox(boolean pox)
-
getTimeoutAct
public String getTimeoutAct()
-
setTimeoutAct
public void setTimeoutAct(String timeoutAct)
-
getTimeoutActionDur
public String getTimeoutActionDur()
-
setTimeoutActionDur
public void setTimeoutActionDur(String timeoutActionDur)
-
isWsadd
public boolean isWsadd()
-
setWsadd
public void setWsadd(boolean wsadd)
-
isSepList
public boolean isSepList()
-
setSepList
public void setSepList(boolean sepList)
-
isWssec
public boolean isWssec()
-
setWssec
public void setWssec(boolean wssec)
-
isWsrm
@Deprecated public boolean isWsrm()
Deprecated.
-
setWsrm
@Deprecated public void setWsrm(boolean wsrm)
Deprecated.
-
getSecPolKey
public String getSecPolKey()
-
setSecPolKey
public void setSecPolKey(String secPolKey)
-
getRmPolKey
public String getRmPolKey()
-
setRmPolKey
public void setRmPolKey(String rmPolKey)
-
getMaxSusDuration
public String getMaxSusDuration()
-
setMaxSusDuration
public void setMaxSusDuration(String maxSusDuration)
-
getSusProgFactor
public String getSusProgFactor()
-
setSusProgFactor
public void setSusProgFactor(String susProgFactor)
-
getErrorCodes
public String getErrorCodes()
-
setErrorCodes
public void setErrorCodes(String errorCodes)
-
setRetryDisabledErrorCodes
public void setRetryDisabledErrorCodes(String retryDisabledErrorCodes)
-
getRetryDisabledErrorCodes
public String getRetryDisabledErrorCodes()
-
getTimedOutErrorCodes
public String getTimedOutErrorCodes()
-
setTimedOutErrorCodes
public void setTimedOutErrorCodes(String timedOutErrorCodes)
-
getRetryTimeout
public String getRetryTimeout()
-
setRetryTimeout
public void setRetryTimeout(String retryTimeout)
-
getRetryDelay
public String getRetryDelay()
-
setRetryDelay
public void setRetryDelay(String retryDelay)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getProperties
public String getProperties()
-
setProperties
public void setProperties(String properties)
-
serialize
public org.apache.axiom.om.OMElement serialize(org.apache.axiom.om.OMElement parent)
Description copied from interface:IEndpoint
Serialize this endpoint in to the corresponding Synapse endpoint configuration.- Parameters:
parent
- if present the serialize node will be added to the parent- Returns:
- the Synapse endpoint configuration XML
-
build
public void build(org.apache.axiom.om.OMElement elem, boolean isAnonymous)
Description copied from interface:IEndpoint
Populate this endpoint from the Synapse endpoint configuration.- Parameters:
elem
- synapse endpoint configurationisAnonymous
- whether the endpoint has a name
-
build
public void build(org.apache.synapse.endpoints.Template template, org.apache.synapse.config.xml.endpoints.DefinitionFactory factory)
Description copied from interface:IEndpoint
Populate this endpoint from the Synapse endpoint template configuration.- Parameters:
template
- synapse endpoint template configurationfactory
- Template definition factory
-
-