Package me.ryun.plugintools
Class PluginEnvironment
java.lang.Object
me.ryun.plugintools.PluginEnvironment
The class for handling the development or production/release environment for the Plugin
- Author:
- SSS Ryun
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe Factory for setting the Plugin Environment -
Method Summary
Modifier and TypeMethodDescriptionstatic PluginEnvironmentget()Get the instance of this class or fail-fast if it's not instantiated beforehandbooleanIs this plugin in development(true) or production/release(false)?booleanIs this plugin logging everything or not?
-
Method Details
-
get
Get the instance of this class or fail-fast if it's not instantiated beforehand- Returns:
- The latest instance of this class
-
isDevelopment
public boolean isDevelopment()Is this plugin in development(true) or production/release(false)?- Returns:
- boolean
-
isVerbose
public boolean isVerbose()Is this plugin logging everything or not?- Returns:
- boolean
-