Class BibernateBanner
java.lang.Object
io.github.blyznytsiaorg.bibernate.utils.BibernateBanner
The
Banner
class provides functionality for printing a banner to the console,
either from a predefined string or custom banner by reading from a file.
Configuration options:
BIBERNATE_BANNER_KEY
: Key for enabling/disabling the main banner. Default is "ON".
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
An enumeration of possible values for configuring the Banner. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static BibernateBanner.Mode
Gets the configured banner mode (ON or OFF).static void
Prints the banner to the console based on the configured mode and file settings.
-
Field Details
-
BIBERNATE_BANNER_KEY
Key for enabling/disabling the main banner. Default is "ON".- See Also:
-
BIBERNATE_BANNER_VALUE
Default value for enabling/disabling the main banner.- See Also:
-
BIBERNATE_BANNER
The bibernate banner content.- See Also:
-
-
Constructor Details
-
BibernateBanner
public BibernateBanner()
-
-
Method Details
-
printBanner
public static void printBanner()Prints the banner to the console based on the configured mode and file settings. -
getBannerMode
Gets the configured banner mode (ON or OFF).- Returns:
- The configured banner mode.
-