Class Config
java.lang.Object
org.troy.capstone.Config
Configuration class for the application.
Loads properties from the
app.properties file in the resources folder and provides access via static fields.
All work done in the static initializes block to ensure properties are loaded before any access.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic booleanFlag to enable or disable graph building. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateConfig()Private constructor to prevent instantiation of theConfigclass and to give satisfy a Javadoc warning. -
Method Summary
-
Field Details
-
graphBuildingEnabled
public static boolean graphBuildingEnabledFlag to enable or disable graph building. Defaults to false if not specified or if there's an error loading the properties.
-
-
Constructor Details
-
Config
private Config()Private constructor to prevent instantiation of theConfigclass and to give satisfy a Javadoc warning.
-