Cisco Systems, Inc.

com.pcube.apps.engage
Class EngageVersion

java.lang.Object
  extended by com.pcube.apps.engage.EngageVersion

public class EngageVersion
extends java.lang.Object

Engage system version representation. Contains the versions of the Engage system components: sml, enbedded, msw. The version information may be loaded from a local version.properties file or remotly over RPC using string array as intermidate representation

Author:
rafis

Nested Class Summary
static class EngageVersion.ComponentName
          Component Name class
 
Field Summary
static EngageVersion.ComponentName EMBEDDED
          Comment for EMBEDDED
static EngageVersion.ComponentName ENGAGE
          Comment for ENGAGE
static java.lang.String KEY_DSS_COMPATIBILITY
           
static EngageVersion.ComponentName MSW
          Comment for MSW
static EngageVersion.ComponentName SML
          Comment for SML
static java.lang.String TUNABLES_STRUCTURE_VER_MAJOR
           
static java.lang.String TUNABLES_STRUCTURE_VER_MINOR
           
static java.lang.String TUNABLES_STRUCTURE_VER_PREFIX
           
 
Method Summary
 com.pcube.apps.framework.commons.Version getComponentVersion(EngageVersion.ComponentName component)
          Version object of a component; engage (system), sml, embedded, msw
 com.pcube.apps.framework.commons.Version getEmbeddedVersion()
          get embedded version
 com.pcube.apps.framework.commons.Version getEngageSysVersion()
          get engage system version
 int getInt(java.lang.String key)
           
 com.pcube.apps.framework.commons.Version getSMLVersion()
          get engage sml version
 java.lang.String getString(java.lang.String key)
           
 java.util.List getStringList(java.lang.String key)
           
 com.pcube.apps.framework.commons.Version getTunablesStructureVersion()
           
static EngageVersion getVersionInfo()
          get local version info
static EngageVersion getVersionInfo(java.util.Properties verProperties)
          create Engage Version from properties
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TUNABLES_STRUCTURE_VER_PREFIX

public static final java.lang.String TUNABLES_STRUCTURE_VER_PREFIX
See Also:
Constant Field Values

TUNABLES_STRUCTURE_VER_MAJOR

public static final java.lang.String TUNABLES_STRUCTURE_VER_MAJOR
See Also:
Constant Field Values

TUNABLES_STRUCTURE_VER_MINOR

public static final java.lang.String TUNABLES_STRUCTURE_VER_MINOR
See Also:
Constant Field Values

ENGAGE

public static final EngageVersion.ComponentName ENGAGE
Comment for ENGAGE


SML

public static final EngageVersion.ComponentName SML
Comment for SML


EMBEDDED

public static final EngageVersion.ComponentName EMBEDDED
Comment for EMBEDDED


MSW

public static final EngageVersion.ComponentName MSW
Comment for MSW


KEY_DSS_COMPATIBILITY

public static final java.lang.String KEY_DSS_COMPATIBILITY
See Also:
Constant Field Values
Method Detail

getVersionInfo

public static EngageVersion getVersionInfo(java.util.Properties verProperties)
create Engage Version from properties

Returns:

getVersionInfo

public static EngageVersion getVersionInfo()
get local version info

Returns:

getString

public java.lang.String getString(java.lang.String key)
Parameters:
key -
Returns:

getInt

public int getInt(java.lang.String key)
Parameters:
key -
Returns:

getComponentVersion

public com.pcube.apps.framework.commons.Version getComponentVersion(EngageVersion.ComponentName component)
Version object of a component; engage (system), sml, embedded, msw

Parameters:
component - - one of the ComponentName constants defined in EngageVersion
Returns:
component's version info

getEngageSysVersion

public com.pcube.apps.framework.commons.Version getEngageSysVersion()
get engage system version

Returns:

getSMLVersion

public com.pcube.apps.framework.commons.Version getSMLVersion()
get engage sml version

Returns:

getEmbeddedVersion

public com.pcube.apps.framework.commons.Version getEmbeddedVersion()
get embedded version

Returns:

getTunablesStructureVersion

public com.pcube.apps.framework.commons.Version getTunablesStructureVersion()

getStringList

public java.util.List getStringList(java.lang.String key)
Parameters:
key -
Returns:

Cisco Systems, Inc.

Copyright © 2013 Cisco Systems, Inc. Confidential.