Package org.alfresco.service.descriptor
Interface Descriptor
- All Known Implementing Classes:
DescriptorServiceImpl.BaseDescriptor
public interface Descriptor
Provides meta-data for the Alfresco stack.
- Author:
- David Caruana
-
Method Summary
Modifier and TypeMethodDescriptiongetDescriptor(String key) Get descriptor valueString[]Gets the list available descriptorsGets the editiongetId()Gets the id of the item being describedGets LicenseModegetName()Gets the name of the item being describedintGets the schema numberGets the full version numberGets the build numberGets the version labelGets the major version number, e.g.Gets the minor version number, e.g. 1.2.3Gets the version revision number, e.g. 1.2.3
-
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
Get descriptor value- Parameters:
key- the descriptor key- Returns:
- descriptor value (or null, if one not provided)
-