public abstract class AbstractFlagAffectedCommand extends Object implements FlagAffectedCommand, TopologyAffectedCommand
Constructor and Description |
---|
AbstractFlagAffectedCommand() |
Modifier and Type | Method and Description |
---|---|
Set<Flag> |
getFlags() |
int |
getTopologyId() |
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.
|
void |
setTopologyId(int topologyId) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
acceptVisitor, ignoreCommandOnStatus, shouldInvoke
getCommandId, getParameters, isReturnValueExpected, perform, setParameters
public Set<Flag> getFlags()
getFlags
in interface FlagAffectedCommand
FlagAffectedCommand.setFlags(Set)
public void setFlags(Set<Flag> flags)
FlagAffectedCommand
setFlags
in interface FlagAffectedCommand
public void setFlags(Flag... flags)
FlagAffectedCommand
setFlags
in interface FlagAffectedCommand
public boolean hasFlag(Flag flag)
FlagAffectedCommand
hasFlag
in interface FlagAffectedCommand
flag
- to lookup in the commandpublic int getTopologyId()
getTopologyId
in interface TopologyAffectedCommand
public void setTopologyId(int topologyId)
setTopologyId
in interface TopologyAffectedCommand
Copyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.