|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FlagAffectedCommand
Commands affected by Flags should carry them over to the remote nodes. By implementing this interface the remote handler will read them out and restore in context; flags should still be evaluated in the InvocationContext.
Method Summary | |
---|---|
Set<Flag> |
getFlags()
|
boolean |
hasFlag(Flag flag)
Check whether a particular flag is present in the command |
void |
setFlags(Set<Flag> flags)
Use it to store the flags from the InvocationContext into the Command before remoting the Command. |
Method Detail |
---|
Set<Flag> getFlags()
setFlags(Set)
void setFlags(Set<Flag> flags)
flags
- boolean hasFlag(Flag flag)
flag
- to lookup in the command
|
--> | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |