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 StringgetArtifactContainerName()Get the artifactContainer of the endpoint which deployed fromStringgetDescription()Get the description of the endpointStringgetEndpointString()Get the configuration of an EndpointbooleangetIsEdited()Get the edit state of the endpointStringgetName()Get the name of the endpointbooleanisEnableStatistics()Check whether statistics are enabled for the endpointbooleanisSwitchOn()Get whether endpoint is switched onvoidsetArtifactContainerName(String artifactContainerName)Set the endpoint artifact container name as a metadatavoidsetDescription(String description)Set the endpoint description as a metadatavoidsetEnableStatistics(boolean enableStatistics)Set whether statistics are enabled for the endpointvoidsetEndpointString(String endpointString)Set the configuration of the endpoint as a metadatavoidsetIsEdited(boolean isEdited)Set the edit state of the endpoint as a metadatavoidsetName(String name)Set the endpoint name as a metadatavoidsetSwitchOn(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
-
-