forked from StarOpenSource/Engine
Update 'final' class modifier
This commit is contained in:
parent
1201d5ce7d
commit
b4cf8f81b1
51 changed files with 64 additions and 55 deletions
|
@ -40,7 +40,7 @@ import java.util.Map;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused", "JavadocDeclaration", "JavadocBlankLines" })
|
@SuppressWarnings({ "unused", "JavadocDeclaration", "JavadocBlankLines" })
|
||||||
public class Engine {
|
public final class Engine {
|
||||||
/**
|
/**
|
||||||
* Instance.
|
* Instance.
|
||||||
*
|
*
|
||||||
|
@ -112,7 +112,7 @@ public class Engine {
|
||||||
*
|
*
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
protected void initializeClasses() {
|
private void initializeClasses() {
|
||||||
// Sorted in rough order of dependence
|
// Sorted in rough order of dependence
|
||||||
new EngineInformation();
|
new EngineInformation();
|
||||||
new PlaceholderEngine();
|
new PlaceholderEngine();
|
||||||
|
@ -124,7 +124,7 @@ public class Engine {
|
||||||
*
|
*
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
protected void initializeEvents() {
|
private void initializeEvents() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -134,7 +134,7 @@ public class Engine {
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("ExtractMethodRecommender")
|
@SuppressWarnings("ExtractMethodRecommender")
|
||||||
protected void populateCrashContent() {
|
private void populateCrashContent() {
|
||||||
// Issuer
|
// Issuer
|
||||||
Map<String, String> crashContentIssuer = new LinkedHashMap<>();
|
Map<String, String> crashContentIssuer = new LinkedHashMap<>();
|
||||||
crashContentIssuer.put("Code part", "%issuer_code_part%");
|
crashContentIssuer.put("Code part", "%issuer_code_part%");
|
||||||
|
|
|
@ -37,7 +37,7 @@ import java.util.Properties;
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused", "JavadocDeclaration", "JavadocBlankLines" })
|
@SuppressWarnings({ "unused", "JavadocDeclaration", "JavadocBlankLines" })
|
||||||
@Getter
|
@Getter
|
||||||
public class EngineConfiguration {
|
public final class EngineConfiguration {
|
||||||
/**
|
/**
|
||||||
* Instance.
|
* Instance.
|
||||||
*
|
*
|
||||||
|
|
|
@ -35,7 +35,7 @@ import java.util.Properties;
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused", "JavadocDeclaration", "JavadocBlankLines" })
|
@SuppressWarnings({ "unused", "JavadocDeclaration", "JavadocBlankLines" })
|
||||||
@Getter
|
@Getter
|
||||||
public class EngineInformation {
|
public final class EngineInformation {
|
||||||
/**
|
/**
|
||||||
* Instance.
|
* Instance.
|
||||||
*
|
*
|
||||||
|
|
|
@ -26,7 +26,7 @@ import java.util.List;
|
||||||
* Provides information about the running Java Virtual Machine.
|
* Provides information about the running Java Virtual Machine.
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class JvmInformation {
|
public final class JvmInformation {
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
|
@ -32,7 +32,7 @@ import java.util.Calendar;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class DateDay implements Placeholder {
|
public final class DateDay implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
|
@ -32,7 +32,7 @@ import java.util.Calendar;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class DateMonth implements Placeholder {
|
public final class DateMonth implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
|
@ -32,7 +32,7 @@ import java.util.Calendar;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class DateYear implements Placeholder {
|
public final class DateYear implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
|
@ -30,7 +30,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class EngineDependencyJansi implements Placeholder {
|
public final class EngineDependencyJansi implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
|
@ -30,7 +30,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* @see Placeholder
|
* @see Placeholder
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class EngineDependencyJetbrainsAnnotations implements Placeholder {
|
public final class EngineDependencyJetbrainsAnnotations implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
|
@ -30,7 +30,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class EngineDependencyLombok implements Placeholder {
|
public final class EngineDependencyLombok implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
|
@ -30,7 +30,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class EnginePluginLombok implements Placeholder {
|
public final class EnginePluginLombok implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
|
@ -30,7 +30,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class EnginePluginShadow implements Placeholder {
|
public final class EnginePluginShadow implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
|
@ -29,7 +29,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class EngineVersion implements Placeholder {
|
public final class EngineVersion implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
|
@ -30,7 +30,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class EngineVersionFork implements Placeholder {
|
public final class EngineVersionFork implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
|
@ -30,7 +30,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class EngineVersionType implements Placeholder {
|
public final class EngineVersionType implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
|
@ -30,7 +30,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class EngineVersionTyperelease implements Placeholder {
|
public final class EngineVersionTyperelease implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
|
@ -30,7 +30,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class EngineVersionVersion implements Placeholder {
|
public final class EngineVersionVersion implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
|
@ -30,7 +30,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class JvmArguments implements Placeholder {
|
public final class JvmArguments implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
|
@ -30,7 +30,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class JvmImplementationName implements Placeholder {
|
public final class JvmImplementationName implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
|
@ -30,7 +30,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class JvmImplementationVendor implements Placeholder {
|
public final class JvmImplementationVendor implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
|
@ -30,7 +30,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class JvmImplementationVersion implements Placeholder {
|
public final class JvmImplementationVersion implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
|
@ -30,7 +30,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class JvmJava implements Placeholder {
|
public final class JvmJava implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
|
@ -30,7 +30,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class JvmUptime implements Placeholder {
|
public final class JvmUptime implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
|
@ -31,7 +31,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class TimeEpoch implements Placeholder {
|
public final class TimeEpoch implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
|
@ -32,7 +32,7 @@ import java.util.Calendar;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class TimeHour implements Placeholder {
|
public final class TimeHour implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
|
@ -32,7 +32,7 @@ import java.util.Calendar;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class TimeMinute implements Placeholder {
|
public final class TimeMinute implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
|
@ -32,7 +32,7 @@ import java.util.Calendar;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class TimeSecond implements Placeholder {
|
public final class TimeSecond implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
|
@ -31,7 +31,7 @@ import java.util.Locale;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class TimeZone implements Placeholder {
|
public final class TimeZone implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
|
@ -41,7 +41,7 @@ import java.util.*;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused", "JavadocDeclaration", "JavadocBlankLines" })
|
@SuppressWarnings({ "unused", "JavadocDeclaration", "JavadocBlankLines" })
|
||||||
public class CrashHandler {
|
public final class CrashHandler {
|
||||||
/**
|
/**
|
||||||
* Hopefully {@code false} :)<br/>
|
* Hopefully {@code false} :)<br/>
|
||||||
* Note: Switching this to true might cause issues. Just don't do it ^^
|
* Note: Switching this to true might cause issues. Just don't do it ^^
|
||||||
|
|
|
@ -42,7 +42,7 @@ import java.util.List;
|
||||||
* @see LogLevel
|
* @see LogLevel
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused", "JavadocDeclaration", "JavadocBlankLines" })
|
@SuppressWarnings({ "unused", "JavadocDeclaration", "JavadocBlankLines" })
|
||||||
public class Logger {
|
public final class Logger {
|
||||||
/**
|
/**
|
||||||
* Refers to the active {@link LoggerImpl} that is used to process and print log messages.
|
* Refers to the active {@link LoggerImpl} that is used to process and print log messages.
|
||||||
*
|
*
|
||||||
|
|
|
@ -30,7 +30,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused", "JavadocDeclaration", "JavadocBlankLines" })
|
@SuppressWarnings({ "unused", "JavadocDeclaration", "JavadocBlankLines" })
|
||||||
@Getter
|
@Getter
|
||||||
public class LoggerInstance {
|
public final class LoggerInstance {
|
||||||
/**
|
/**
|
||||||
* Contains the class that this {@link LoggerInstance} belongs to.
|
* Contains the class that this {@link LoggerInstance} belongs to.
|
||||||
*
|
*
|
||||||
|
|
|
@ -30,7 +30,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class IssuerClass implements Placeholder {
|
public final class IssuerClass implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* The {@link LogIssuer} to use.
|
* The {@link LogIssuer} to use.
|
||||||
*
|
*
|
||||||
|
|
|
@ -30,7 +30,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class IssuerCodePart implements Placeholder {
|
public final class IssuerCodePart implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* The {@link LogIssuer} to use.
|
* The {@link LogIssuer} to use.
|
||||||
*
|
*
|
||||||
|
|
|
@ -30,7 +30,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class IssuerInfo implements Placeholder {
|
public final class IssuerInfo implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* The {@link LogIssuer} to use.
|
* The {@link LogIssuer} to use.
|
||||||
*
|
*
|
||||||
|
|
|
@ -29,7 +29,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class IssuerMessage implements Placeholder {
|
public final class IssuerMessage implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* The message to use.
|
* The message to use.
|
||||||
*
|
*
|
||||||
|
|
|
@ -30,7 +30,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class IssuerPackage implements Placeholder {
|
public final class IssuerPackage implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* The {@link LogIssuer} to use.
|
* The {@link LogIssuer} to use.
|
||||||
*
|
*
|
||||||
|
|
|
@ -30,7 +30,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class IssuerPath implements Placeholder {
|
public final class IssuerPath implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* The {@link LogIssuer} to use.
|
* The {@link LogIssuer} to use.
|
||||||
*
|
*
|
||||||
|
|
|
@ -31,7 +31,7 @@ import org.jetbrains.annotations.Nullable;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class Stacktrace implements Placeholder {
|
public final class Stacktrace implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* The {@link Exception} to use.
|
* The {@link Exception} to use.
|
||||||
*
|
*
|
||||||
|
|
|
@ -30,7 +30,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class LogClass implements Placeholder {
|
public final class LogClass implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* The {@link LogIssuer} to use.
|
* The {@link LogIssuer} to use.
|
||||||
*
|
*
|
||||||
|
|
|
@ -30,7 +30,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class LogCodePart implements Placeholder {
|
public final class LogCodePart implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* The {@link LogIssuer} to use.
|
* The {@link LogIssuer} to use.
|
||||||
*
|
*
|
||||||
|
|
|
@ -30,7 +30,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class LogColorPrimary implements Placeholder {
|
public final class LogColorPrimary implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* The {@link LogLevel} to use.
|
* The {@link LogLevel} to use.
|
||||||
*
|
*
|
||||||
|
|
|
@ -30,7 +30,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class LogColorSecondary implements Placeholder {
|
public final class LogColorSecondary implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* The {@link LogLevel} to use.
|
* The {@link LogLevel} to use.
|
||||||
*
|
*
|
||||||
|
|
|
@ -30,7 +30,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class LogInfo implements Placeholder {
|
public final class LogInfo implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* The {@link LogIssuer} to use
|
* The {@link LogIssuer} to use
|
||||||
*
|
*
|
||||||
|
|
|
@ -29,7 +29,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class LogLevel implements Placeholder {
|
public final class LogLevel implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* The {@link de.staropensource.sosengine.base.types.LogLevel} to use.
|
* The {@link de.staropensource.sosengine.base.types.LogLevel} to use.
|
||||||
*
|
*
|
||||||
|
|
|
@ -29,7 +29,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class LogMessage implements Placeholder {
|
public final class LogMessage implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* The message to use.
|
* The message to use.
|
||||||
*
|
*
|
||||||
|
|
|
@ -30,7 +30,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class LogPackage implements Placeholder {
|
public final class LogPackage implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* The {@link LogIssuer} to use.
|
* The {@link LogIssuer} to use.
|
||||||
*
|
*
|
||||||
|
|
|
@ -30,7 +30,7 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class LogPath implements Placeholder {
|
public final class LogPath implements Placeholder {
|
||||||
/**
|
/**
|
||||||
* The {@link LogIssuer} to use.
|
* The {@link LogIssuer} to use.
|
||||||
*
|
*
|
||||||
|
|
|
@ -29,7 +29,7 @@ import java.lang.ref.WeakReference;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused" })
|
||||||
public class Miscellaneous {
|
public final class Miscellaneous {
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
|
|
|
@ -37,7 +37,7 @@ import java.util.List;
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused", "JavadocDeclaration", "JavadocBlankLines" })
|
@SuppressWarnings({ "unused", "JavadocDeclaration", "JavadocBlankLines" })
|
||||||
public class PlaceholderEngine {
|
public final class PlaceholderEngine {
|
||||||
/**
|
/**
|
||||||
* Instance.
|
* Instance.
|
||||||
*
|
*
|
||||||
|
|
|
@ -34,7 +34,7 @@ import java.util.Properties;
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused", "JavadocDeclaration", "JavadocBlankLines" })
|
@SuppressWarnings({ "unused", "JavadocDeclaration", "JavadocBlankLines" })
|
||||||
@NotNull
|
@NotNull
|
||||||
public final class PropertyParser {
|
public class PropertyParser {
|
||||||
/**
|
/**
|
||||||
* Instance providing access to the JVM-wide properties.
|
* Instance providing access to the JVM-wide properties.
|
||||||
*
|
*
|
||||||
|
|
|
@ -19,6 +19,8 @@
|
||||||
|
|
||||||
package de.staropensource.sosengine.base.utility;
|
package de.staropensource.sosengine.base.utility;
|
||||||
|
|
||||||
|
import lombok.AccessLevel;
|
||||||
|
import lombok.Getter;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -27,14 +29,21 @@ import org.jetbrains.annotations.NotNull;
|
||||||
* @see Exception
|
* @see Exception
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "unused" })
|
@SuppressWarnings({ "unused", "JavadocBlankLines" })
|
||||||
public final class StackTraceParser {
|
public class StackTraceParser {
|
||||||
/**
|
/**
|
||||||
* The exception to use.
|
* The exception to use.
|
||||||
*
|
*
|
||||||
* @see Exception
|
* @see Exception
|
||||||
* @since 1-alpha0
|
* @since 1-alpha0
|
||||||
|
*
|
||||||
|
* -- GETTER --
|
||||||
|
* Returns the exception to use.
|
||||||
|
*
|
||||||
|
* @see Exception
|
||||||
|
* @since 1-alpha0
|
||||||
*/
|
*/
|
||||||
|
@Getter(AccessLevel.PROTECTED)
|
||||||
private final @NotNull Exception exception;
|
private final @NotNull Exception exception;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue