public class ChainCommandData<C extends CommandData> extends CommandData implements SerializableCR
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
usesCommandList |
hasCommandList, typeid| Constructor and Description |
|---|
ChainCommandData() |
ChainCommandData(UUID id) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCommand(C command) |
void |
deserialize()
Deserialize child commands/responses within the object
|
boolean |
equals(Object obj) |
CrList<C> |
getCommandList() |
List<C> |
getCommands() |
int |
hashCode() |
void |
serialize()
Serialize child commands/responses within the object
|
void |
setCommandList(CrList<C> commands) |
void |
setCommands(List<C> commands) |
String |
toString() |
getType, hasCommandList, setTypegetId, setIdpublic ChainCommandData()
public ChainCommandData(UUID id)
public void serialize()
SerializableCRserialize in interface SerializableCRpublic void deserialize()
SerializableCRdeserialize in interface SerializableCRpublic void addCommand(C command)
public String toString()
toString in class CommandDatapublic int hashCode()
hashCode in class CommandDatapublic boolean equals(Object obj)
equals in class CommandDataCopyright © 2017. All rights reserved.