com.ibm.websphere.management.application
Class EditionInfo
- java.lang.Object
com.ibm.websphere.management.application.EditionInfo
All implemented interfaces:
java.io.Serializable
- public final class EditionInfo
- extends java.lang.Object
- implements java.io.Serializable
See Also:
Nested Class Summary
Modifier and Type | Class and Description |
---|---|
|
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 |
---|---|
|
STATE_ACTIVE
Deprecated.
|
|
STATE_INACTIVE
Deprecated.
|
|
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 |
---|---|
|
getAppName()
Returns the application name (without edition).
|
|
getCellName()
Returns the cell name.
|
|
getCompositeName()
Returns the composite application name.
|
|
getDescription()
Returns the description for the edition.
|
|
getEdition()
Returns the application edition.
|
|
getEditionState()
Deprecated.
|
getState()
Returns the application edition's state.
|
|
|
setDescription(java.lang.String description)
Set application edition's description.
|
|
setEditionState(java.lang.String state)
Deprecated.
|
|
setState(EditionInfo.State state)
Set the application edition's state.
|
|
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
- @Deprecated 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
- @Deprecated public static final java.lang.String STATE_INACTIVE
Deprecated.
Application edition is inactive (getter) or should be set inactive (setter).
See Also:
STATE_VALIDATE
- @Deprecated 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
- @Deprecated public EditionInfo(java.lang.String compositeName,
- java.lang.String cellName)
Deprecated.
EditionInfo
- public EditionInfo(java.lang.String cellName,
- java.lang.String compositeName,
- java.lang.String description,
- EditionInfo.State state)
Method Detail
getCellName
- public java.lang.String getCellName( )
Returns the cell name.
Returns:
String cell name
getCompositeName
- public java.lang.String getCompositeName( )
Returns the composite application name.
Returns:
String composite name e.g. MyApp-edition1.2
getAppName
- public java.lang.String getAppName( )
Returns the application name (without edition).
Returns:
String application name e.g. MyApp
getEdition
- public java.lang.String getEdition( )
Returns the application edition.
Returns:
String application edition e.g. 1.2 or "" for default edition
getDescription
- 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
- public void setDescription(java.lang.String description)
Set application edition's description.
Parameters:
description
- edition description getState
- public EditionInfo.State getState( )
Returns the application edition's state.
Returns:
State edition state
setState
- public void setState(EditionInfo.State state)
Set the application edition's state.
Parameters:
state
- edition state getEditionState
- @Deprecated
- public java.lang.String getEditionState( )
Deprecated.
Returns the application edition's state. See STATE_*.
setEditionState
- @Deprecated
- public void setEditionState( java.lang.String state)
Deprecated.
Set application edition state. See STATE_*.
toString
- 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.