Package org.wso2.carbon.endpoint.service
Class EndpointMetaData
java.lang.Object
org.wso2.carbon.endpoint.service.EndpointMetaData
Instances of this class represents the MetaData of a Endpoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the artifactContainer of the endpoint which deployed fromGet the description of the endpointGet the configuration of an EndpointbooleanGet the edit state of the endpointgetName()Get the name of the endpointbooleanCheck whether statistics are enabled for the endpointbooleanGet 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 metadatavoidSet the endpoint name as a metadatavoidsetSwitchOn(boolean switchOn) Set whether endpoint is switched on
-
Constructor Details
-
EndpointMetaData
public EndpointMetaData()
-
-
Method Details
-
getEndpointString
Get the configuration of an Endpoint- Returns:
- endpoint configuration
-
setEndpointString
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
Get the name of the endpoint- Returns:
- endpoint name
-
setName
Set the endpoint name as a metadata- Parameters:
name- endpoint name
-
getDescription
Get the description of the endpoint- Returns:
- endpoint description
-
setDescription
Set the endpoint description as a metadata- Parameters:
description- endpoint description
-
getArtifactContainerName
Get the artifactContainer of the endpoint which deployed from- Returns:
- endpoint description
-
setArtifactContainerName
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
-