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 Details

    • EndpointMetaData

      public EndpointMetaData()
  • Method Details

    • 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