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 LocalFlagAffectedCommand
LocalFlagAffectedCommand.setFlags(java.util.Set)
public void setFlags(Set<Flag> flags)
LocalFlagAffectedCommand
setFlags
in interface LocalFlagAffectedCommand
public void setFlags(Flag... flags)
LocalFlagAffectedCommand
setFlags
in interface LocalFlagAffectedCommand
public boolean hasFlag(Flag flag)
LocalFlagAffectedCommand
hasFlag
in interface LocalFlagAffectedCommand
flag
- to lookup in the commandCopyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.