From 85edaa465792cb18bea0f135b91c6dd245b64593 Mon Sep 17 00:00:00 2001 From: EpicKnarvik97 Date: Tue, 9 Nov 2021 15:38:42 +0100 Subject: [PATCH] Adds a new class to represent a data type usable by configs --- .../stargate/config/OptionDataType.java | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/main/java/net/knarcraft/stargate/config/OptionDataType.java diff --git a/src/main/java/net/knarcraft/stargate/config/OptionDataType.java b/src/main/java/net/knarcraft/stargate/config/OptionDataType.java new file mode 100644 index 0000000..e657a69 --- /dev/null +++ b/src/main/java/net/knarcraft/stargate/config/OptionDataType.java @@ -0,0 +1,21 @@ +package net.knarcraft.stargate.config; + +/** + * An enum defining the different data types an option can have + */ +public enum OptionDataType { + + /** + * The data type for the option is a String + */ + STRING, + /** + * The data type for the option is a Boolean + */ + BOOLEAN, + /** + * The data type for the option is an Integer + */ + INTEGER + +}