public class EscalationInterval extends Object implements EscalationTimeCriteria, Cloneable, Serializable
EscalationInterval
is an escalation time criteria which defines the criteria as
a time interval (number of seconds)Modifier and Type | Field and Description |
---|---|
static int |
MAX_DAYS
The maximum number of days that can be specified without overflowing integer maximum value.
|
Constructor and Description |
---|
EscalationInterval() |
EscalationInterval(long value) |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Clone implementation that returns an Object with data cloned from self.
|
boolean |
equals(Object obj)
Use this method for checking equality between the current object and the
provided one.
|
int |
getDays() |
int |
getHours() |
int |
getMinutes() |
long |
getValue() |
int |
hashCode()
Returns the hash code value for this instance of the current class.
|
void |
setDays(int days) |
void |
setHours(int hours) |
void |
setMinutes(int minutes) |
void |
setValue(long value) |
String |
toString()
Returns a string description of the object.
|
public static final int MAX_DAYS
public EscalationInterval()
public EscalationInterval(long value)
public int getDays()
public void setDays(int days)
public int getHours()
public void setHours(int hours)
public int getMinutes()
public void setMinutes(int minutes)
public long getValue()
public void setValue(long value)
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public boolean equals(Object obj)
public int hashCode()
? Copyright 2013 BMC Software, Inc.