public abstract class AbstractLocalFlagAffectedCommand extends Object implements LocalFlagAffectedCommand
| Constructor and Description |
|---|
AbstractLocalFlagAffectedCommand() |
| Modifier and Type | Method and Description |
|---|---|
Set<Flag> |
getFlags() |
boolean |
hasFlag(Flag flag)
Check whether a particular flag is present in the command
|
void |
setFlags(Flag... flags)
Use it to store the flags from the InvocationContext into the Command before remoting the Command.
|
void |
setFlags(Set<Flag> flags)
Use it to store the flags from the InvocationContext into the Command before remoting the Command.
|
public Set<Flag> getFlags()
getFlags in interface LocalFlagAffectedCommandLocalFlagAffectedCommand.setFlags(java.util.Set)public void setFlags(Set<Flag> flags)
LocalFlagAffectedCommandsetFlags in interface LocalFlagAffectedCommandpublic void setFlags(Flag... flags)
LocalFlagAffectedCommandsetFlags in interface LocalFlagAffectedCommandpublic boolean hasFlag(Flag flag)
LocalFlagAffectedCommandhasFlag in interface LocalFlagAffectedCommandflag - to lookup in the commandCopyright © 2016 JBoss, a division of Red Hat. All rights reserved.