Package org.alfresco.service.descriptor
Interface Descriptor
-
- All Known Implementing Classes:
DescriptorServiceImpl.BaseDescriptor
public interface DescriptorProvides meta-data for the Alfresco stack.- Author:
- David Caruana
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDescriptor(String key)Get descriptor valueString[]getDescriptorKeys()Gets the list available descriptorsStringgetEdition()Gets the editionStringgetId()Gets the id of the item being describedRepoUsage.LicenseModegetLicenseMode()Gets LicenseModeStringgetName()Gets the name of the item being describedintgetSchema()Gets the schema numberStringgetVersion()Gets the full version numberStringgetVersionBuild()Gets the build numberStringgetVersionLabel()Gets the version labelStringgetVersionMajor()Gets the major version number, e.g.StringgetVersionMinor()Gets the minor version number, e.g.org.alfresco.util.VersionNumbergetVersionNumber()StringgetVersionRevision()Gets the version revision number, e.g.
-
-
-
Method Detail
-
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
org.alfresco.util.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
-
-