|
Cisco Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pcube.apps.engage.policy.TimeFrame
public class TimeFrame
The time is divided into four types - TF1, TF2, TF3 and TF4. The Policy's
week is devided into hours, and each hour gets a time frame value. In each
timeslot a package can define different rule for each service.
The
Policy can define aliases for the time frames to give it a meaningful name
by using the function
setTimeFrameName.
| Field Summary | |
|---|---|
static TimeFrame |
T1
Time frame #1. |
static TimeFrame |
T2
Time frame #2. |
static TimeFrame |
T3
Time frame #3. |
static TimeFrame |
T4
Time frame #4. |
static java.lang.String[] |
timeFrame_List
The predefined TimeFrames names. |
static java.util.List |
VALUES
The list of the TimeFrames. |
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object o)
Equating an object with this object. |
int |
getIntValue()
Gets this TimeFrame's index. |
static TimeFrame |
getTimeFrame(java.lang.String name)
Gets the TimeFrame bearing the specific name. |
java.lang.String |
toString()
Gets this TimeFrame's name. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final TimeFrame T1
public static final TimeFrame T2
public static final TimeFrame T3
public static final TimeFrame T4
public static final java.lang.String[] timeFrame_List
public static final java.util.List VALUES
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic int getIntValue()
public int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparableo - the object which is compared to this object
public static TimeFrame getTimeFrame(java.lang.String name)
throws ItemNotFoundException
name - the desired TimeFrame's name
ItemNotFoundException - if tehre is no such TimeFrame
|
Cisco Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||