|
J2EE1.4 SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.appserv.management.base.MapCapableBase
com.sun.appserv.management.deploy.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,
java.lang.String description,
java.util.Map other)
Create a new instance with explicit params |
|
DeploymentProgressImpl(DeploymentProgress src)
Create a new instance based on another. |
|
DeploymentProgressImpl(java.util.Map m)
Create a new instance. |
Method Summary | |
java.lang.String |
getDescription()
|
java.lang.String |
getLocalizedDescription(java.util.Locale locale)
|
static java.lang.String |
getLocalizedDescriptionKey(java.util.Locale locale)
|
java.lang.String |
getMapClassName()
Return the interface that this Map represents (the Java classname). |
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, checkInJavaUtil, checkLegalObject, checkLegalObject, checkValidType, equals, getboolean, getBoolean, getByte, getField, getFile, getInteger, getMap, getObject, getString, getStringArray, illegalObject, makeImmutable, putAll, putField, putFieldHook, toString, validateNullOrOfType, validateThrow |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, 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, java.lang.String description, java.util.Map other)
progressPercent
- description
- other
- other values, see this( Map m )public DeploymentProgressImpl(java.util.Map 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 java.lang.String getMapClassName()
MapCapable
getMapClassName
in interface MapCapable
getMapClassName
in class MapCapableBase
public static java.lang.String getLocalizedDescriptionKey(java.util.Locale locale)
public byte getProgressPercent()
getProgressPercent
in interface DeploymentProgress
public java.lang.String getDescription()
getDescription
in interface DeploymentProgress
public java.lang.String getLocalizedDescription(java.util.Locale locale)
getLocalizedDescription
in interface DeploymentProgress
|
J2EE1.4 SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2003 Sun Microsystems, Inc. All rights reserved.