|
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.RuleFrame
public class RuleFrame
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 RuleFrame |
R1
Time frame #1. |
static RuleFrame |
R10
|
static RuleFrame |
R2
Time frame #2. |
static RuleFrame |
R3
Time frame #3. |
static RuleFrame |
R4
Time frame #4. |
static RuleFrame |
R5
|
static RuleFrame |
R6
|
static RuleFrame |
R7
|
static RuleFrame |
R8
|
static RuleFrame |
R9
|
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 RuleFrame |
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 RuleFrame R1
public static final RuleFrame R2
public static final RuleFrame R3
public static final RuleFrame R4
public static final RuleFrame R5
public static final RuleFrame R6
public static final RuleFrame R7
public static final RuleFrame R8
public static final RuleFrame R9
public static final RuleFrame R10
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 RuleFrame 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 | |||||||||