Class CometIndex

    • Constructor Detail

      • CometIndex

        public CometIndex()
        Instantiates a new Comet index.
    • Method Detail

      • addOrUpdateEntry

        public void addOrUpdateEntry​(java.lang.String label,
                                     java.lang.String path)
        Add or update entry.
        Parameters:
        label - the label
        path - the path
      • getLabel

        public java.lang.String getLabel()
        Gets label.
        Returns:
        the label
      • getReferenceConstraints

        public java.util.List<CometReference> getReferenceConstraints()
        Description copied from class: CometEntity

        Get reference (i.e. PluginDependency) constraints for this type, including constraints inherited from super classes

        See the CometTypeConstraints annotation for more information

        Overrides:
        getReferenceConstraints in class CometEntity
        Returns:
        list of mandatory dependencies for this type
      • getRepositoryFilename

        public java.lang.String getRepositoryFilename()
                                               throws CometException
        Description copied from class: CometEntity

        Gets the repository filename for this particular item

        This method MUST be overridden by classes extending CometEntity

        Overrides:
        getRepositoryFilename in class CometEntity
        Returns:
        the repository filename of this particular item
        Throws:
        CometException - the comet exception
      • getRepositoryPath

        public java.lang.String getRepositoryPath()
                                           throws CometException
        Description copied from class: CometEntity

        Get the relative repository path for this configuration type.

        This method MUST be overridden by classes extending CometEntity.

        Overrides:
        getRepositoryPath in class CometEntity
        Returns:
        relative repository path
        Throws:
        CometException - the comet exception
      • removeEntry

        public void removeEntry​(java.lang.String path)
        Remove entry.
        Parameters:
        path - the path
      • setLabel

        public void setLabel​(java.lang.String label)
        Sets label.
        Parameters:
        label - the label