Interface Descriptor

All Known Implementing Classes:
DescriptorServiceImpl.BaseDescriptor

public interface Descriptor
Provides meta-data for the Alfresco stack.
Author:
David Caruana
  • Method Details

    • getId

      String getId()
      Gets the id of the item being described
      Returns:
      identifier
    • getName

      String getName()
      Gets the name of the item being described
      Returns:
      name
    • getVersionMajor

      String getVersionMajor()
      Gets the major version number, e.g. 1.2.3
      Returns:
      major version number
    • getVersionMinor

      String getVersionMinor()
      Gets the minor version number, e.g. 1.2.3
      Returns:
      minor version number
    • getVersionRevision

      String getVersionRevision()
      Gets the version revision number, e.g. 1.2.3
      Returns:
      revision number
    • getVersionLabel

      String getVersionLabel()
      Gets the version label
      Returns:
      the version label
    • getVersionBuild

      String getVersionBuild()
      Gets the build number
      Returns:
      the build number i.e. build-1
    • getVersionNumber

      VersionNumber getVersionNumber()
      Returns:
      Returns the object representing the major-minor-revision numbers
    • getVersion

      String getVersion()
      Gets the full version number
      Returns:
      full version number as major.minor.revision (label)
    • getEdition

      String getEdition()
      Gets the edition
      Returns:
      the edition
    • getLicenseMode

      RepoUsage.LicenseMode getLicenseMode()
      Gets LicenseMode
      Returns:
      the licenseMode
    • getSchema

      int getSchema()
      Gets the schema number
      Returns:
      a positive integer
    • getDescriptorKeys

      String[] getDescriptorKeys()
      Gets the list available descriptors
      Returns:
      descriptor keys
    • getDescriptor

      String getDescriptor(String key)
      Get descriptor value
      Parameters:
      key - the descriptor key
      Returns:
      descriptor value (or null, if one not provided)