Package org.wso2.carbon.endpoint.service
Class EndpointMetaData
- java.lang.Object
-
- org.wso2.carbon.endpoint.service.EndpointMetaData
-
public class EndpointMetaData extends Object
Instances of this class represents the MetaData of a Endpoint
-
-
Constructor Summary
Constructors Constructor Description EndpointMetaData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getArtifactContainerName()
Get the artifactContainer of the endpoint which deployed fromString
getDescription()
Get the description of the endpointString
getEndpointString()
Get the configuration of an Endpointboolean
getIsEdited()
Get the edit state of the endpointString
getName()
Get the name of the endpointboolean
isEnableStatistics()
Check whether statistics are enabled for the endpointboolean
isSwitchOn()
Get whether endpoint is switched onvoid
setArtifactContainerName(String artifactContainerName)
Set the endpoint artifact container name as a metadatavoid
setDescription(String description)
Set the endpoint description as a metadatavoid
setEnableStatistics(boolean enableStatistics)
Set whether statistics are enabled for the endpointvoid
setEndpointString(String endpointString)
Set the configuration of the endpoint as a metadatavoid
setIsEdited(boolean isEdited)
Set the edit state of the endpoint as a metadatavoid
setName(String name)
Set the endpoint name as a metadatavoid
setSwitchOn(boolean switchOn)
Set whether endpoint is switched on
-
-
-
Method Detail
-
getEndpointString
public String getEndpointString()
Get the configuration of an Endpoint- Returns:
- endpoint configuration
-
setEndpointString
public void setEndpointString(String endpointString)
Set the configuration of the endpoint as a metadata- Parameters:
endpointString
- endpoint configuration
-
isEnableStatistics
public boolean isEnableStatistics()
Check whether statistics are enabled for the endpoint- Returns:
- true if statistics are enabled, otherwise false
-
setEnableStatistics
public void setEnableStatistics(boolean enableStatistics)
Set whether statistics are enabled for the endpoint- Parameters:
enableStatistics
- true if statistics are enabled, otherwise false
-
isSwitchOn
public boolean isSwitchOn()
Get whether endpoint is switched on- Returns:
- true if endpoint is switched on, otherwise false
-
setSwitchOn
public void setSwitchOn(boolean switchOn)
Set whether endpoint is switched on- Parameters:
switchOn
- true if endpoint is switched on, otherwise false
-
getName
public String getName()
Get the name of the endpoint- Returns:
- endpoint name
-
setName
public void setName(String name)
Set the endpoint name as a metadata- Parameters:
name
- endpoint name
-
getDescription
public String getDescription()
Get the description of the endpoint- Returns:
- endpoint description
-
setDescription
public void setDescription(String description)
Set the endpoint description as a metadata- Parameters:
description
- endpoint description
-
getArtifactContainerName
public String getArtifactContainerName()
Get the artifactContainer of the endpoint which deployed from- Returns:
- endpoint description
-
setArtifactContainerName
public void setArtifactContainerName(String artifactContainerName)
Set the endpoint artifact container name as a metadata- Parameters:
artifactContainerName
- endpoint name
-
getIsEdited
public boolean getIsEdited()
Get the edit state of the endpoint- Returns:
- endpoint description
-
setIsEdited
public void setIsEdited(boolean isEdited)
Set the edit state of the endpoint as a metadata- Parameters:
isEdited
- endpoint name
-
-