public class AmiAlertType
extends java.lang.Object
AmiConstants
class:
AmiConstants.ALERT_TYPE_INFO
AmiConstants.ALERT_TYPE_WARNING
AmiConstants.ALERT_TYPE_ERROR
Modifier and Type | Method and Description |
---|---|
boolean |
equals(AmiAlertType type)
Determines whether the given method type is equivalent with this object.
|
static AmiAlertType |
fromString(java.lang.String typeString)
Returns the type object according to the input type string.
|
int |
hashCode()
Returns a hash code value for the object.
|
java.lang.String |
toString()
Returns the string representation of the AMI alert type object.
|
public java.lang.String toString()
toString
in class java.lang.Object
Possible return strings are:
public static AmiAlertType fromString(java.lang.String typeString)
typeString
- - String form of the AMI method type.
If null
is given as the typeString
, then
AmiConstants.ALERT_TYPE_INFO
object is returned.
public boolean equals(AmiAlertType type)
public int hashCode()
hashCode
in class java.lang.Object
This method is supported for the benefit of hashtables such as those
provided by java.util.Hashtable
.
Copyright © 2000-2019 TIBCO Inc. All Rights Reserved.