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.ConfigurationFilegetFile()voidreplaceBlockInstruction(BlockInstruction blockInstruction) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getBlockListin interfaceBlockList
-
reloadBlockList
- Specified by:
reloadBlockListin interfaceBlockList
-
replaceBlockInstruction
- Specified by:
replaceBlockInstructionin interfaceBlockList
-
saveChanges
- Specified by:
saveChangesin interfaceBlockList
-
getFile
public org.core.config.ConfigurationStream.ConfigurationFile getFile() -
recreateFile
public void recreateFile()- Specified by:
recreateFilein interfaceConfig
-