org.alfresco.service.descriptor
Interface Descriptor

All Known Implementing Classes:
DescriptorServiceImpl.BaseDescriptor

public interface Descriptor

Provides meta-data for the Alfresco stack.


Method Summary
 java.lang.String getDescriptor(java.lang.String key)
          Get descriptor value
 java.lang.String[] getDescriptorKeys()
          Gets the list available descriptors
 java.lang.String getEdition()
          Gets the edition
 java.lang.String getId()
          Gets the id of the item being described
 RepoUsage.LicenseMode getLicenseMode()
          Gets LicenseMode
 java.lang.String getName()
          Gets the name of the item being described
 int getSchema()
          Gets the schema number
 java.lang.String getVersion()
          Gets the full version number
 java.lang.String getVersionBuild()
          Gets the build number
 java.lang.String getVersionLabel()
          Gets the version label
 java.lang.String getVersionMajor()
          Gets the major version number, e.g.
 java.lang.String getVersionMinor()
          Gets the minor version number, e.g.
 org.alfresco.util.VersionNumber getVersionNumber()
           
 java.lang.String getVersionRevision()
          Gets the version revision number, e.g.
 

Method Detail

getId

java.lang.String getId()
Gets the id of the item being described

Returns:
identifier

getName

java.lang.String getName()
Gets the name of the item being described

Returns:
name

getVersionMajor

java.lang.String getVersionMajor()
Gets the major version number, e.g. 1.2.3

Returns:
major version number

getVersionMinor

java.lang.String getVersionMinor()
Gets the minor version number, e.g. 1.2.3

Returns:
minor version number

getVersionRevision

java.lang.String getVersionRevision()
Gets the version revision number, e.g. 1.2.3

Returns:
revision number

getVersionLabel

java.lang.String getVersionLabel()
Gets the version label

Returns:
the version label

getVersionBuild

java.lang.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

java.lang.String getVersion()
Gets the full version number

Returns:
full version number as major.minor.revision (label)

getEdition

java.lang.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

java.lang.String[] getDescriptorKeys()
Gets the list available descriptors

Returns:
descriptor keys

getDescriptor

java.lang.String getDescriptor(java.lang.String key)
Get descriptor value

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


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.