|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.appserv.management.base.MapCapableBase com.sun.appserv.management.deploy.DeploymentProgressImpl
public final class DeploymentProgressImpl
Use DeploymentSupport to create a new instance of this class.
Field Summary |
---|
Fields inherited from interface com.sun.appserv.management.deploy.DeploymentProgress |
---|
DEPLOYMENT_PROGRESS_CLASS_NAME, DESCRIPTION_KEY, LOCALIZED_DESCRIPTION_KEY_BASE, PROGRESS_PERCENT_KEY |
Fields inherited from interface com.sun.appserv.management.base.MapCapable |
---|
MAP_CAPABLE_CLASS_NAME_KEY |
Constructor Summary | |
---|---|
DeploymentProgressImpl(byte progressPercent,
String description,
Map<String,T> other)
Create a new instance with explicit params |
|
DeploymentProgressImpl(DeploymentProgress src)
Create a new instance based on another. |
|
DeploymentProgressImpl(Map<String,T> m)
Create a new instance. |
Method Summary | |
---|---|
String |
getDescription()
|
String |
getLocalizedDescription(Locale locale)
|
static String |
getLocalizedDescriptionKey(Locale locale)
|
String |
getMapClassName()
Return the type name which will be paired with MAP_CAPABLE_CLASS_NAME_KEY. |
byte |
getProgressPercent()
|
protected boolean |
validate()
Return true if internal state is valid, false otherwise. |
Methods inherited from class com.sun.appserv.management.base.MapCapableBase |
---|
asMap, asMapHook, checkInJavaUtil, checkLegalObject, checkLegalObject, checkValidType, equals, getboolean, getBoolean, getByte, getField, getFile, getInteger, getMap, getObject, getString, getStringArray, hashCode, illegalObject, makeImmutable, putAll, putField, putFieldHook, toString, validateNullOrOfType, validateThrow |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.sun.appserv.management.base.MapCapable |
---|
asMap |
Constructor Detail |
---|
public DeploymentProgressImpl(DeploymentProgress src)
public DeploymentProgressImpl(byte progressPercent, String description, Map<String,T> other)
progressPercent
- description
- other
- other values, see this( Map m )public DeploymentProgressImpl(Map<String,T> m)
MapCapable
.MAP_CAPABLE_TYPE_KEY with
value DEPLOYMENT_PROGRESS_CLASS_NAME
The map may contain also contain localized descriptions.
See DeploymentProgress
.LOCALIZED_DESCRIPTION_KEY_BASE.
m
- a Map representing a DeploymentProgressMethod Detail |
---|
protected boolean validate()
MapCapableBase
validate
in class MapCapableBase
public String getMapClassName()
MapCapableBase
getMapClassName
in interface MapCapable
getMapClassName
in class MapCapableBase
public static String getLocalizedDescriptionKey(Locale locale)
public byte getProgressPercent()
getProgressPercent
in interface DeploymentProgress
public String getDescription()
getDescription
in interface DeploymentProgress
public String getLocalizedDescription(Locale locale)
getLocalizedDescription
in interface DeploymentProgress
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.