public abstract class AbstractDataCommand extends Object implements DataCommand
DataCommand
s.Modifier and Type | Field and Description |
---|---|
protected DataContainer |
dataContainer |
protected Fqn |
fqn |
Constructor and Description |
---|
AbstractDataCommand() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Fqn |
getFqn()
Returns the Fqn of the node on which this command operates.
|
Object[] |
getParameters()
Basic versions of these methods
|
int |
hashCode() |
void |
initialize(DataContainer dataContainer) |
void |
setParameters(int commandId,
Object[] args)
Basic versions of these methods
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
acceptVisitor
getCommandId, perform
protected Fqn fqn
protected DataContainer dataContainer
public void initialize(DataContainer dataContainer)
public Fqn getFqn()
DataCommand
getFqn
in interface DataCommand
public Object[] getParameters()
getParameters
in interface ReplicableCommand
public void setParameters(int commandId, Object[] args)
setParameters
in interface ReplicableCommand
commandId
- command id to set. This is usually unused but *could* be used in the event of a command having multiple IDs, such as PutKeyValueCommand
.args
- object array of argsCopyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.