|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.magicproject.action.context.TargetList
public class TargetList
| Field Summary | |
|---|---|
java.util.List<Targetable> |
targetList
The targets added by this context. |
java.util.List<Test> |
testList
The restriction test used to add the targets. |
| Constructor Summary | |
|---|---|
TargetList()
Create a new instance of this class. |
|
| Method Summary | |
|---|---|
void |
add(Targetable target,
Test test)
Add yhe specified target to the list of this context. |
void |
addAll(java.util.List<Targetable> targetList,
java.util.List<Test> testList)
Add the specified targets to the list of this context. |
void |
replay(int eventOption,
boolean raiseEvent)
Replay the target list operation. |
void |
rollback()
Rollback the target list content. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.util.List<Targetable> targetList
public java.util.List<Test> testList
| Constructor Detail |
|---|
public TargetList()
| Method Detail |
|---|
public void add(Targetable target,
Test test)
target - the target to addtest - the attached test validating the target
public void addAll(java.util.List<Targetable> targetList,
java.util.List<Test> testList)
targetList - the targets to addtestList - the attached tests validating the targetspublic void rollback()
public void replay(int eventOption,
boolean raiseEvent)
eventOption - is the event mode : Force, default, none. Depending this value,
the added target will be rechecked before resolution processraiseEvent - if false, is any case, no event can be triggered.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||