com.ibm.websphere.management.application

Class EditionInfo

  1. java.lang.Object
  2. extended bycom.ibm.websphere.management.application.EditionInfo
All implemented interfaces:
java.io.Serializable

  1. public final class EditionInfo
  2. extends java.lang.Object
  3. implements java.io.Serializable
Information related to an application edition. Use get/setEditionInfo methods on the AppManagement MBean to access and change edition information.
See Also:
Serialized Form

Nested Class Summary

Modifier and Type Class and Description
  1. static class
EditionInfo.State
Application edition states: ACTIVE Application edition is active (getter) or should be set to active (setter).

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
STATE_ACTIVE
Deprecated.
  1. static
  2. java.lang.String
STATE_INACTIVE
Deprecated.
  1. static
  2. java.lang.String
STATE_VALIDATE
Deprecated.

Constructor Summary

Constructor and Description
EditionInfo(java.lang.String compositeName,java.lang.String cellName)
Deprecated.
EditionInfo(java.lang.String cellName,java.lang.String compositeName,java.lang.String description,EditionInfo.State state)

Method Summary

Modifier and Type Method and Description
  1. java.lang.String
getAppName()
Returns the application name (without edition).
  1. java.lang.String
getCellName()
Returns the cell name.
  1. java.lang.String
getCompositeName()
Returns the composite application name.
  1. java.lang.String
getDescription()
Returns the description for the edition.
  1. java.lang.String
getEdition()
Returns the application edition.
  1. java.lang.String
getEditionState()
Deprecated.
  1. EditionInfo.State
getState()
Returns the application edition's state.
  1. void
setDescription(java.lang.String description)
Set application edition's description.
  1. void
setEditionState(java.lang.String state)
Deprecated.
  1. void
setState(EditionInfo.State state)
Set the application edition's state.
  1. java.lang.String
toString()
Returns a string representation of this object.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail

STATE_ACTIVE

  1. @Deprecated
  2. public static final java.lang.String STATE_ACTIVE
Deprecated.
Application edition is active (getter) or should be set to active (setter).
See Also:

STATE_INACTIVE

  1. @Deprecated
  2. public static final java.lang.String STATE_INACTIVE
Deprecated.
Application edition is inactive (getter) or should be set inactive (setter).
See Also:

STATE_VALIDATE

  1. @Deprecated
  2. public static final java.lang.String STATE_VALIDATE
Deprecated.
Application edition is being validated (getter) or should be set to validate (setter). Edition validation is a special case of concurrent activation. See XD documentation for more information.
See Also:

Constructor Detail

EditionInfo

  1. @Deprecated
  2. public EditionInfo(java.lang.String compositeName,
  3. java.lang.String cellName)
Deprecated.

EditionInfo

  1. public EditionInfo(java.lang.String cellName,
  2. java.lang.String compositeName,
  3. java.lang.String description,
  4. EditionInfo.State state)

Method Detail

getCellName

  1. public java.lang.String getCellName( )
Returns the cell name.
Returns:
String cell name

getCompositeName

  1. public java.lang.String getCompositeName( )
Returns the composite application name.
Returns:
String composite name e.g. MyApp-edition1.2

getAppName

  1. public java.lang.String getAppName( )
Returns the application name (without edition).
Returns:
String application name e.g. MyApp

getEdition

  1. public java.lang.String getEdition( )
Returns the application edition.
Returns:
String application edition e.g. 1.2 or "" for default edition

getDescription

  1. public java.lang.String getDescription( )
Returns the description for the edition. This can be entered during edition creation by passing the -edition.desc option to the $AdminApp install command.
Returns:
String edition description or null

setDescription

  1. public void setDescription(java.lang.String description)
Set application edition's description.
Parameters:
description - edition description

getState

  1. public EditionInfo.State getState( )
Returns the application edition's state.
Returns:
State edition state

setState

  1. public void setState(EditionInfo.State state)
Set the application edition's state.
Parameters:
state - edition state

getEditionState

  1. @Deprecated
  2. public java.lang.String getEditionState( )
Deprecated.
Returns the application edition's state. See STATE_*.
Returns:
String edition state
See Also:

setEditionState

  1. @Deprecated
  2. public void setEditionState( java.lang.String state)
Deprecated.
Set application edition state. See STATE_*.
Parameters:
state - edition state
See Also:

toString

  1. public java.lang.String toString( )
Returns a string representation of this object.
Overrides:
toString in class java.lang.Object
Returns:
a string representation of this object.