|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.util.IlEnum
ilog.tgo.model.IltTrap.Type
public static class IltTrap.Type
This enumeration lists the possible types of traps supported by the system.
| Field Summary | |
|---|---|
static IltTrap.Type |
AuthenticationFailure
|
static IltTrap.Type |
ColdStart
|
static IltTrap.Type |
EGPNeighborLoss
|
static IltTrap.Type |
LinkFailure
|
static IlEnumInfo |
metainfo
Contains metainformation about this IlEnum class. |
static IltTrap.Type |
WarmStart
|
| Constructor Summary | |
|---|---|
IltTrap.Type()
Creates a new trap type. |
|
IltTrap.Type(String name,
int severity)
Creates a new trap type. |
|
| Method Summary | |
|---|---|
int |
compareTo(Object o)
|
void |
copy(IltTrap.Type from)
Copies the attributes from the given type. |
String |
getCategory()
Returns the category of this type. |
String |
getDescription(IlpContext appContext)
Deprecated. Use getLabel(Locale) instead. |
String |
getLabel(Locale locale)
Returns a localized description of the severity. |
int |
getSeverity()
Returns the severity index. |
int |
hashCode()
Support for hash tables. |
void |
setDescription(String description)
Deprecated. Use setLabel(String) instead. |
void |
setLabel(String label)
Sets the label. |
void |
setMessage(String description)
Sets the description of the severity as a message from the JTGO catalog. |
void |
setName(String name)
Sets the severity name. |
void |
setSeverity(int value)
Sets the severity attribute. |
| Methods inherited from class ilog.util.IlEnum |
|---|
getName, intern, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ilog.tgo.model.IltAlarmSeverity |
|---|
equals, getName, intern |
| Field Detail |
|---|
public static IltTrap.Type ColdStart
public static IltTrap.Type WarmStart
public static IltTrap.Type LinkFailure
public static IltTrap.Type AuthenticationFailure
public static IltTrap.Type EGPNeighborLoss
public static IlEnumInfo metainfo
IlEnum class.
| Constructor Detail |
|---|
public IltTrap.Type()
public IltTrap.Type(String name,
int severity)
name - a name for the severity, used for serialization purposes| Method Detail |
|---|
public String getCategory()
getCategory in interface IltAlarmSeveritypublic String getLabel(Locale locale)
getLabel in interface ilog.cpl.util.internal.IlpLabellocale - The locale used to retrieve the label.Localepublic void setLabel(String label)
setLabel in interface ilog.cpl.util.internal.IlpMutableLabellabel - The new label to be set.public String getDescription(IlpContext appContext)
IltAlarmSeverity
getDescription in interface IltAlarmSeveritypublic void setDescription(String description)
public void setMessage(String description)
public int getSeverity()
getSeverity in interface IltAlarmSeveritypublic void setSeverity(int value)
public void setName(String name)
setName in class IlEnumpublic int hashCode()
hashCode in interface IltAlarmSeverityhashCode in class Objectpublic int compareTo(Object o)
compareTo in interface Comparablepublic void copy(IltTrap.Type from)
from - Source trap type
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||