org.springframework.extensions.webscripts
Interface ServerModel


public interface ServerModel

Script / Template Model representing the server hosting the Web Script Framework

Author:
davidc

Method Summary
 String getContainerName()
          Gets the Container Name
 String getEdition()
          Gets the edition
 String getId()
          Gets the Id of the server instance
 String getName()
          Gets the Name of the server instance
 int getSchema()
          Gets the schema number
 String getVersion()
          Gets the full version number
 String getVersionBuild()
          Gets the build number
 String getVersionLabel()
          Gets the version label
 String getVersionMajor()
          Gets the major version number, e.g.
 String getVersionMinor()
          Gets the minor version number, e.g.
 String getVersionRevision()
          Gets the version revision number, e.g.
 

Method Detail

getContainerName

String getContainerName()
Gets the Container Name

Returns:
container name

getId

String getId()
Gets the Id of the server instance

Returns:
id

getName

String getName()
Gets the Name of the server instance


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

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

getSchema

int getSchema()
Gets the schema number

Returns:
a positive integer


Copyright © 2009 SpringSource, Inc. All Rights Reserved.