Package org.ships.config.blocks
Class DefaultBlockList
java.lang.Object
org.ships.config.blocks.DefaultBlockList
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ships.config.Config
Config.KnownNodes
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final LinkedTransferQueue<ModifiableBlockInstruction>
protected final org.core.config.ConfigurationStream.ConfigurationFile
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.core.config.ConfigurationStream.ConfigurationFile
getFile()
void
replaceBlockInstruction
(BlockInstruction blockInstruction) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ships.config.blocks.BlockList
getBlockInstruction
-
Field Details
-
file
protected final org.core.config.ConfigurationStream.ConfigurationFile file -
blocks
-
-
Constructor Details
-
DefaultBlockList
public DefaultBlockList()
-
-
Method Details
-
getBlockList
- Specified by:
getBlockList
in interfaceBlockList
-
reloadBlockList
- Specified by:
reloadBlockList
in interfaceBlockList
-
replaceBlockInstruction
- Specified by:
replaceBlockInstruction
in interfaceBlockList
-
saveChanges
- Specified by:
saveChanges
in interfaceBlockList
-
getFile
public org.core.config.ConfigurationStream.ConfigurationFile getFile() -
recreateFile
public void recreateFile()- Specified by:
recreateFile
in interfaceConfig
-