Class API

    • Constructor Detail

    • Method Detail

      • setContext

        public void setContext​(String context)
      • setArtifactContainerName

        public void setArtifactContainerName​(String name)
      • getArtifactContainerName

        public String getArtifactContainerName()
      • isEdited

        public boolean isEdited()
      • setIsEdited

        public void setIsEdited​(boolean isEdited)
      • setLogSetterValue

        public void setLogSetterValue()
      • getName

        public String getName()
        Get the fully qualified name of this API
        Returns:
        returns the key combination for API NAME + VERSION
      • getProtocol

        public int getProtocol()
      • setProtocol

        public void setProtocol​(int protocol)
      • getAPIName

        public String getAPIName()
      • getVersion

        public String getVersion()
      • getContext

        public String getContext()
      • getHost

        public String getHost()
      • setHost

        public void setHost​(String host)
      • getPort

        public int getPort()
      • setPort

        public void setPort​(int port)
      • getFileName

        public String getFileName()
      • setFileName

        public void setFileName​(String fileName)
      • getCommentsList

        public List<String> getCommentsList()
      • setCommentsList

        public void setCommentsList​(List<String> commentsList)
      • getSwaggerResourcePath

        public String getSwaggerResourcePath()
      • setSwaggerResourcePath

        public void setSwaggerResourcePath​(String swaggerResourcePath)
      • addResource

        public void addResource​(Resource resource)
      • getResources

        public Resource[] getResources()
      • addHandler

        public void addHandler​(Handler handler)
      • getHandlers

        public Handler[] getHandlers()
      • getBindsTo

        public Set<String> getBindsTo()
      • addBindsTo

        public void addBindsTo​(String inboundEndpointName)
      • addAllBindsTo

        public void addAllBindsTo​(Set<String> inboundEndpointBindings)
      • init

        public void init​(SynapseEnvironment se)
        Description copied from interface: ManagedLifecycle
        This method should implement the initialization of the implemented parts of the configuration.
        Specified by:
        init in interface ManagedLifecycle
        Parameters:
        se - SynapseEnvironment to be used for initialization
      • destroy

        public void destroy()
        Description copied from interface: ManagedLifecycle
        This method should implement the destroying of the implemented parts of the configuration.
        Specified by:
        destroy in interface ManagedLifecycle
      • setVersionStrategy

        public void setVersionStrategy​(VersionStrategy versionStrategy)
      • setComponentStatisticsId

        public void setComponentStatisticsId​(ArtifactHolder holder)
      • setDescription

        public void setDescription​(String description)
        Description copied from interface: SynapseArtifact
        Set the description of the artifact
        Specified by:
        setDescription in interface SynapseArtifact
        Parameters:
        description - tobe set to the artifact