Class ApiExport

    • Constructor Detail

      • ApiExport

        public ApiExport​(String name)
        Create a new export
        Parameters:
        name - Package name for the export
    • Method Detail

      • getName

        public String getName()
        Get the package name
        Returns:
        The package name
      • getToggle

        public String getToggle()
        Get the optional toggle information
        Returns:
        The toggle info or null
      • setToggle

        public void setToggle​(String toggle)
        Set the toggle info.
        Parameters:
        toggle - The toggle info
      • getPrevious

        public org.apache.sling.feature.ArtifactId getPrevious()
        Get the previous version of this api
        Returns:
        The previous version or null
      • setPrevious

        public void setPrevious​(org.apache.sling.feature.ArtifactId previous)
        Set the previous version
        Parameters:
        previous - Previus version
      • getProperties

        public Map<String,​String> getProperties()
        Get additional properties
        Returns:
        Modifiable map of properties
      • getDeprecation

        public Deprecation getDeprecation()
        Get the deprecation info
        Returns:
        The info
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object