Move data types and classes around

This commit is contained in:
JeremyStar™ 2024-07-11 14:38:00 +02:00
parent 3a734ece70
commit 7c553c24f0
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D
79 changed files with 149 additions and 123 deletions

View file

@ -22,7 +22,6 @@ package de.staropensource.sosengine.base;
import de.staropensource.sosengine.base.annotations.EngineSubsystem;
import de.staropensource.sosengine.base.classes.SubsystemMainClass;
import de.staropensource.sosengine.base.classes.helpers.EventHelper;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.data.info.EngineInformation;
import de.staropensource.sosengine.base.data.versioning.StarOpenSourceVersioningSystem;
import de.staropensource.sosengine.base.events.EngineCrashEvent;
@ -30,13 +29,14 @@ import de.staropensource.sosengine.base.events.EngineShutdownEvent;
import de.staropensource.sosengine.base.events.LogEvent;
import de.staropensource.sosengine.base.exceptions.UnmetDependenciesException;
import de.staropensource.sosengine.base.internal.events.InternalEngineShutdownEvent;
import de.staropensource.sosengine.base.internal.types.DependencySubsystemVector;
import de.staropensource.sosengine.base.logging.CrashHandler;
import de.staropensource.sosengine.base.logging.Logger;
import de.staropensource.sosengine.base.logging.LoggerInstance;
import de.staropensource.sosengine.base.types.CodePart;
import de.staropensource.sosengine.base.types.dependency.DependencySubsystemVector;
import de.staropensource.sosengine.base.types.dependency.DependencyVector;
import de.staropensource.sosengine.base.types.DependencyVector;
import de.staropensource.sosengine.base.types.immutable.ImmutableLinkedList;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import de.staropensource.sosengine.base.utility.DependencyResolver;
import de.staropensource.sosengine.base.utility.Miscellaneous;
import de.staropensource.sosengine.base.utility.PlaceholderEngine;

View file

@ -20,11 +20,11 @@
package de.staropensource.sosengine.base;
import de.staropensource.sosengine.base.classes.SubsystemConfiguration;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.classes.logging.LogLevel;
import de.staropensource.sosengine.base.logging.CrashHandler;
import de.staropensource.sosengine.base.logging.Logger;
import de.staropensource.sosengine.base.types.CodePart;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import de.staropensource.sosengine.base.types.logging.LogLevel;
import de.staropensource.sosengine.base.utility.converter.AnsiShortcodeConverter;
import de.staropensource.sosengine.base.utility.parser.PropertyParser;
import lombok.Getter;

View file

@ -19,8 +19,8 @@
package de.staropensource.sosengine.base.annotations;
import de.staropensource.sosengine.base.classes.events.Event;
import de.staropensource.sosengine.base.classes.events.EventPriority;
import de.staropensource.sosengine.base.classes.Event;
import de.staropensource.sosengine.base.types.EventPriority;
import org.jetbrains.annotations.NotNull;
import java.lang.annotation.*;

View file

@ -17,7 +17,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.staropensource.sosengine.base.classes.events;
package de.staropensource.sosengine.base.classes;
/**
* Represents an event.

View file

@ -17,8 +17,10 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.staropensource.sosengine.base.classes.logging;
package de.staropensource.sosengine.base.classes;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import de.staropensource.sosengine.base.types.logging.LogLevel;
import org.jetbrains.annotations.NotNull;
/**

View file

@ -17,11 +17,12 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.staropensource.sosengine.base.types;
package de.staropensource.sosengine.base.classes;
import de.staropensource.sosengine.base.EngineConfiguration;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.logging.LoggerInstance;
import de.staropensource.sosengine.base.types.CodePart;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import lombok.Getter;
import org.fusesource.jansi.Ansi;
import org.jetbrains.annotations.NotNull;

View file

@ -23,7 +23,7 @@ import de.staropensource.sosengine.base.Engine;
import de.staropensource.sosengine.base.annotations.EventListener;
import de.staropensource.sosengine.base.internal.events.InternalEngineShutdownEvent;
import de.staropensource.sosengine.base.logging.LoggerInstance;
import de.staropensource.sosengine.base.types.dependency.DependencyVector;
import de.staropensource.sosengine.base.types.DependencyVector;
import org.jetbrains.annotations.NotNull;
/**

View file

@ -17,7 +17,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.staropensource.sosengine.base.types.versioning;
package de.staropensource.sosengine.base.classes;
import de.staropensource.sosengine.base.exceptions.IncompatibleVersioningSystemException;
import org.jetbrains.annotations.NotNull;

View file

@ -21,9 +21,9 @@ package de.staropensource.sosengine.base.classes.helpers;
import de.staropensource.sosengine.base.EngineConfiguration;
import de.staropensource.sosengine.base.annotations.EventListener;
import de.staropensource.sosengine.base.classes.events.Event;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.classes.Event;
import de.staropensource.sosengine.base.logging.Logger;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import de.staropensource.sosengine.base.utility.ListFormatter;
import lombok.Getter;
import org.jetbrains.annotations.NotNull;

View file

@ -20,10 +20,10 @@
package de.staropensource.sosengine.base.data.info;
import de.staropensource.sosengine.base.Engine;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.logging.LoggerInstance;
import de.staropensource.sosengine.base.types.CodePart;
import de.staropensource.sosengine.base.types.versioning.VersionType;
import de.staropensource.sosengine.base.types.VersionType;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import de.staropensource.sosengine.base.utility.parser.PropertyParser;
import de.staropensource.sosengine.base.utility.parser.StackTraceParser;
import lombok.Getter;

View file

@ -19,9 +19,9 @@
package de.staropensource.sosengine.base.data.info;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.logging.Logger;
import de.staropensource.sosengine.base.types.CodePart;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import org.jetbrains.annotations.NotNull;
import java.lang.management.ManagementFactory;

View file

@ -19,9 +19,9 @@
package de.staropensource.sosengine.base.data.versioning;
import de.staropensource.sosengine.base.classes.VersioningSystem;
import de.staropensource.sosengine.base.exceptions.IncompatibleVersioningSystemException;
import de.staropensource.sosengine.base.exceptions.InvalidVersionStringException;
import de.staropensource.sosengine.base.types.versioning.VersioningSystem;
import de.staropensource.sosengine.base.utility.Miscellaneous;
import lombok.Getter;
import org.jetbrains.annotations.NotNull;

View file

@ -19,9 +19,9 @@
package de.staropensource.sosengine.base.data.versioning;
import de.staropensource.sosengine.base.classes.VersioningSystem;
import de.staropensource.sosengine.base.exceptions.IncompatibleVersioningSystemException;
import de.staropensource.sosengine.base.exceptions.InvalidVersionStringException;
import de.staropensource.sosengine.base.types.versioning.VersioningSystem;
import lombok.Getter;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Range;

View file

@ -19,9 +19,9 @@
package de.staropensource.sosengine.base.data.versioning;
import de.staropensource.sosengine.base.classes.VersioningSystem;
import de.staropensource.sosengine.base.exceptions.IncompatibleVersioningSystemException;
import de.staropensource.sosengine.base.exceptions.InvalidVersionStringException;
import de.staropensource.sosengine.base.types.versioning.VersioningSystem;
import de.staropensource.sosengine.base.utility.Miscellaneous;
import lombok.Getter;
import org.jetbrains.annotations.NotNull;

View file

@ -19,10 +19,10 @@
package de.staropensource.sosengine.base.data.versioning;
import de.staropensource.sosengine.base.classes.VersioningSystem;
import de.staropensource.sosengine.base.exceptions.IncompatibleVersioningSystemException;
import de.staropensource.sosengine.base.exceptions.InvalidVersionStringException;
import de.staropensource.sosengine.base.types.versioning.VersionType;
import de.staropensource.sosengine.base.types.versioning.VersioningSystem;
import de.staropensource.sosengine.base.types.VersionType;
import lombok.Getter;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

View file

@ -19,9 +19,9 @@
package de.staropensource.sosengine.base.data.versioning;
import de.staropensource.sosengine.base.classes.VersioningSystem;
import de.staropensource.sosengine.base.exceptions.IncompatibleVersioningSystemException;
import de.staropensource.sosengine.base.exceptions.InvalidVersionStringException;
import de.staropensource.sosengine.base.types.versioning.VersioningSystem;
import de.staropensource.sosengine.base.utility.Miscellaneous;
import lombok.Getter;
import org.jetbrains.annotations.NotNull;

View file

@ -19,9 +19,9 @@
package de.staropensource.sosengine.base.data.versioning;
import de.staropensource.sosengine.base.classes.VersioningSystem;
import de.staropensource.sosengine.base.exceptions.IncompatibleVersioningSystemException;
import de.staropensource.sosengine.base.exceptions.InvalidVersionStringException;
import de.staropensource.sosengine.base.types.versioning.VersioningSystem;
import de.staropensource.sosengine.base.utility.Miscellaneous;
import lombok.Getter;
import org.jetbrains.annotations.NotNull;

View file

@ -19,7 +19,7 @@
package de.staropensource.sosengine.base.events;
import de.staropensource.sosengine.base.classes.events.Event;
import de.staropensource.sosengine.base.classes.Event;
import de.staropensource.sosengine.base.classes.helpers.EventHelper;
/**

View file

@ -19,7 +19,7 @@
package de.staropensource.sosengine.base.events;
import de.staropensource.sosengine.base.classes.events.Event;
import de.staropensource.sosengine.base.classes.Event;
import de.staropensource.sosengine.base.classes.helpers.EventHelper;
/**

View file

@ -19,7 +19,7 @@
package de.staropensource.sosengine.base.events;
import de.staropensource.sosengine.base.classes.events.Event;
import de.staropensource.sosengine.base.classes.Event;
import de.staropensource.sosengine.base.classes.helpers.EventHelper;
/**

View file

@ -20,10 +20,10 @@
package de.staropensource.sosengine.base.events;
import de.staropensource.sosengine.base.EngineConfiguration;
import de.staropensource.sosengine.base.classes.events.Event;
import de.staropensource.sosengine.base.classes.Event;
import de.staropensource.sosengine.base.classes.helpers.EventHelper;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.classes.logging.LogLevel;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import de.staropensource.sosengine.base.types.logging.LogLevel;
import org.jetbrains.annotations.NotNull;
import java.lang.reflect.InvocationTargetException;

View file

@ -20,7 +20,7 @@
package de.staropensource.sosengine.base.events;
import de.staropensource.sosengine.base.EngineConfiguration;
import de.staropensource.sosengine.base.classes.events.Event;
import de.staropensource.sosengine.base.classes.Event;
import de.staropensource.sosengine.base.classes.helpers.EventHelper;
import de.staropensource.sosengine.base.utility.Miscellaneous;
import org.jetbrains.annotations.NotNull;

View file

@ -19,7 +19,7 @@
package de.staropensource.sosengine.base.exceptions;
import de.staropensource.sosengine.base.types.versioning.VersioningSystem;
import de.staropensource.sosengine.base.classes.VersioningSystem;
/**
* Represents an exception caused by supplying an invalid or unexpected versioning system.

View file

@ -19,7 +19,7 @@
package de.staropensource.sosengine.base.exceptions;
import de.staropensource.sosengine.base.types.versioning.VersioningSystem;
import de.staropensource.sosengine.base.classes.VersioningSystem;
import lombok.Getter;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

View file

@ -19,7 +19,7 @@
package de.staropensource.sosengine.base.exceptions;
import de.staropensource.sosengine.base.types.dependency.DependencyVector;
import de.staropensource.sosengine.base.types.DependencyVector;
import lombok.Getter;
import org.jetbrains.annotations.NotNull;

View file

@ -19,7 +19,7 @@
package de.staropensource.sosengine.base.internal.events;
import de.staropensource.sosengine.base.classes.events.Event;
import de.staropensource.sosengine.base.classes.Event;
import de.staropensource.sosengine.base.classes.helpers.EventHelper;
/**

View file

@ -20,7 +20,7 @@
package de.staropensource.sosengine.base.internal.placeholders.crashhandler;
import de.staropensource.sosengine.base.classes.Placeholder;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import org.jetbrains.annotations.NotNull;
/**

View file

@ -20,7 +20,7 @@
package de.staropensource.sosengine.base.internal.placeholders.crashhandler;
import de.staropensource.sosengine.base.classes.Placeholder;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import org.jetbrains.annotations.NotNull;
/**

View file

@ -20,7 +20,7 @@
package de.staropensource.sosengine.base.internal.placeholders.crashhandler;
import de.staropensource.sosengine.base.classes.Placeholder;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import org.jetbrains.annotations.NotNull;
/**

View file

@ -20,7 +20,7 @@
package de.staropensource.sosengine.base.internal.placeholders.crashhandler;
import de.staropensource.sosengine.base.classes.Placeholder;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import org.jetbrains.annotations.NotNull;
/**

View file

@ -20,7 +20,7 @@
package de.staropensource.sosengine.base.internal.placeholders.crashhandler;
import de.staropensource.sosengine.base.classes.Placeholder;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import org.jetbrains.annotations.NotNull;
/**

View file

@ -20,7 +20,7 @@
package de.staropensource.sosengine.base.internal.placeholders.logger;
import de.staropensource.sosengine.base.classes.Placeholder;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import org.jetbrains.annotations.NotNull;
/**

View file

@ -20,7 +20,7 @@
package de.staropensource.sosengine.base.internal.placeholders.logger;
import de.staropensource.sosengine.base.classes.Placeholder;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import org.jetbrains.annotations.NotNull;
/**

View file

@ -20,7 +20,7 @@
package de.staropensource.sosengine.base.internal.placeholders.logger;
import de.staropensource.sosengine.base.classes.Placeholder;
import de.staropensource.sosengine.base.classes.logging.LogLevel;
import de.staropensource.sosengine.base.types.logging.LogLevel;
import org.jetbrains.annotations.NotNull;
/**

View file

@ -20,7 +20,7 @@
package de.staropensource.sosengine.base.internal.placeholders.logger;
import de.staropensource.sosengine.base.classes.Placeholder;
import de.staropensource.sosengine.base.classes.logging.LogLevel;
import de.staropensource.sosengine.base.types.logging.LogLevel;
import org.jetbrains.annotations.NotNull;
/**

View file

@ -20,7 +20,7 @@
package de.staropensource.sosengine.base.internal.placeholders.logger;
import de.staropensource.sosengine.base.classes.Placeholder;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import org.jetbrains.annotations.NotNull;
/**

View file

@ -31,20 +31,20 @@ import org.jetbrains.annotations.NotNull;
@SuppressWarnings({ "unused" })
public final class LogLevel implements Placeholder {
/**
* The {@link de.staropensource.sosengine.base.classes.logging.LogLevel} to use.
* The {@link de.staropensource.sosengine.base.types.logging.LogLevel} to use.
*
* @since 1-alpha0
*/
@NotNull
private final de.staropensource.sosengine.base.classes.logging.LogLevel level;
private final de.staropensource.sosengine.base.types.logging.LogLevel level;
/**
* Constructs this class.
*
* @param level {@link de.staropensource.sosengine.base.classes.logging.LogLevel} to use
* @param level {@link de.staropensource.sosengine.base.types.logging.LogLevel} to use
* @since 1-alpha0
*/
public LogLevel(@NotNull de.staropensource.sosengine.base.classes.logging.LogLevel level) {
public LogLevel(@NotNull de.staropensource.sosengine.base.types.logging.LogLevel level) {
this.level = level;
}

View file

@ -20,7 +20,7 @@
package de.staropensource.sosengine.base.internal.placeholders.logger;
import de.staropensource.sosengine.base.classes.Placeholder;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import org.jetbrains.annotations.NotNull;
/**

View file

@ -20,7 +20,7 @@
package de.staropensource.sosengine.base.internal.placeholders.logger;
import de.staropensource.sosengine.base.classes.Placeholder;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import org.jetbrains.annotations.NotNull;
/**

View file

@ -17,10 +17,11 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.staropensource.sosengine.base.types.dependency;
package de.staropensource.sosengine.base.internal.types;
import de.staropensource.sosengine.base.classes.SubsystemMainClass;
import de.staropensource.sosengine.base.types.versioning.VersioningSystem;
import de.staropensource.sosengine.base.classes.VersioningSystem;
import de.staropensource.sosengine.base.types.DependencyVector;
import lombok.Getter;
import org.jetbrains.annotations.NotNull;

View file

@ -19,8 +19,8 @@
package de.staropensource.sosengine.base.internal.types;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.classes.logging.LogLevel;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import de.staropensource.sosengine.base.types.logging.LogLevel;
import lombok.Getter;
import org.jetbrains.annotations.NotNull;

View file

@ -22,11 +22,11 @@ package de.staropensource.sosengine.base.logging;
import de.staropensource.sosengine.base.Engine;
import de.staropensource.sosengine.base.EngineConfiguration;
import de.staropensource.sosengine.base.classes.Placeholder;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.classes.logging.LogLevel;
import de.staropensource.sosengine.base.events.EngineCrashEvent;
import de.staropensource.sosengine.base.events.EngineSoftCrashEvent;
import de.staropensource.sosengine.base.internal.placeholders.crashhandler.*;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import de.staropensource.sosengine.base.types.logging.LogLevel;
import de.staropensource.sosengine.base.utility.PlaceholderEngine;
import lombok.Getter;
import lombok.Setter;

View file

@ -21,13 +21,16 @@ package de.staropensource.sosengine.base.logging;
import de.staropensource.sosengine.base.Engine;
import de.staropensource.sosengine.base.EngineConfiguration;
import de.staropensource.sosengine.base.classes.LoggerImpl;
import de.staropensource.sosengine.base.classes.Placeholder;
import de.staropensource.sosengine.base.classes.logging.LogLevel;
import de.staropensource.sosengine.base.classes.logging.*;
import de.staropensource.sosengine.base.events.LogEvent;
import de.staropensource.sosengine.base.internal.placeholders.logger.*;
import de.staropensource.sosengine.base.internal.types.QueuedLogMessage;
import de.staropensource.sosengine.base.logging.implementation.ColoredLoggerImpl;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import de.staropensource.sosengine.base.types.logging.LogLevel;
import de.staropensource.sosengine.base.types.logging.LogRule;
import de.staropensource.sosengine.base.types.logging.LogRuleType;
import de.staropensource.sosengine.base.utility.PlaceholderEngine;
import lombok.Getter;
import lombok.Setter;

View file

@ -19,7 +19,7 @@
package de.staropensource.sosengine.base.logging;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import lombok.Getter;
import org.jetbrains.annotations.NotNull;

View file

@ -20,10 +20,10 @@
package de.staropensource.sosengine.base.logging.implementation;
import de.staropensource.sosengine.base.EngineConfiguration;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.classes.logging.LogLevel;
import de.staropensource.sosengine.base.classes.logging.LoggerImpl;
import de.staropensource.sosengine.base.classes.LoggerImpl;
import de.staropensource.sosengine.base.logging.Logger;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import de.staropensource.sosengine.base.types.logging.LogLevel;
import de.staropensource.sosengine.base.utility.converter.AnsiShortcodeConverter;
import org.fusesource.jansi.Ansi;
import org.fusesource.jansi.AnsiConsole;

View file

@ -20,10 +20,10 @@
package de.staropensource.sosengine.base.logging.implementation;
import de.staropensource.sosengine.base.EngineConfiguration;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.classes.logging.LogLevel;
import de.staropensource.sosengine.base.classes.logging.LoggerImpl;
import de.staropensource.sosengine.base.classes.LoggerImpl;
import de.staropensource.sosengine.base.logging.Logger;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import de.staropensource.sosengine.base.types.logging.LogLevel;
import de.staropensource.sosengine.base.utility.converter.EmptyShortcodeConverter;
import org.jetbrains.annotations.NotNull;

View file

@ -20,10 +20,10 @@
package de.staropensource.sosengine.base.logging.implementation;
import de.staropensource.sosengine.base.EngineConfiguration;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.classes.logging.LogLevel;
import de.staropensource.sosengine.base.classes.logging.LoggerImpl;
import de.staropensource.sosengine.base.classes.LoggerImpl;
import de.staropensource.sosengine.base.logging.Logger;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import de.staropensource.sosengine.base.types.logging.LogLevel;
import org.jetbrains.annotations.NotNull;
/**

View file

@ -19,7 +19,7 @@
package de.staropensource.sosengine.base.types;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
/**
* Indicates whether the class belongs to the engine, application or modification.

View file

@ -17,9 +17,9 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.staropensource.sosengine.base.types.dependency;
package de.staropensource.sosengine.base.types;
import de.staropensource.sosengine.base.types.versioning.VersioningSystem;
import de.staropensource.sosengine.base.classes.VersioningSystem;
import lombok.Getter;
import org.jetbrains.annotations.NotNull;

View file

@ -17,7 +17,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.staropensource.sosengine.base.classes.events;
package de.staropensource.sosengine.base.types;
import de.staropensource.sosengine.base.annotations.EventListener;

View file

@ -17,7 +17,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.staropensource.sosengine.base.types.versioning;
package de.staropensource.sosengine.base.types;
import de.staropensource.sosengine.base.data.info.EngineInformation;
import de.staropensource.sosengine.base.data.versioning.StarOpenSourceVersioningSystem;

View file

@ -18,8 +18,8 @@
*/
/**
* Contains event-related interfaces and classes.
* Contains immutable versions of data types.
*
* @since 1-alpha1
*/
package de.staropensource.sosengine.base.classes.events;
package de.staropensource.sosengine.base.types.immutable;

View file

@ -17,7 +17,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.staropensource.sosengine.base.classes.logging;
package de.staropensource.sosengine.base.types.logging;
import de.staropensource.sosengine.base.types.CodePart;
import lombok.Getter;

View file

@ -17,7 +17,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.staropensource.sosengine.base.classes.logging;
package de.staropensource.sosengine.base.types.logging;
/**
* Used for determining a log message's priority.

View file

@ -17,7 +17,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.staropensource.sosengine.base.classes.logging;
package de.staropensource.sosengine.base.types.logging;
import lombok.Getter;
import org.jetbrains.annotations.NotNull;

View file

@ -17,7 +17,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package de.staropensource.sosengine.base.classes.logging;
package de.staropensource.sosengine.base.types.logging;
/**
* Used for determining if a {@link LogRule} should allow (whitelist) or prevent (blacklist) log call processing.

View file

@ -18,8 +18,8 @@
*/
/**
* Contains logging-related interfaces and classes.
* Contains logging-related data types.
*
* @since 1-alpha1
*/
package de.staropensource.sosengine.base.classes.logging;
package de.staropensource.sosengine.base.types.logging;

View file

@ -0,0 +1,25 @@
/*
* STAROPENSOURCE ENGINE SOURCE FILE
* Copyright (c) 2024 The StarOpenSource Engine Contributors
* Licensed under the GNU Affero General Public License v3
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
/**
* Contains data types operating with numbers.
*
* @since 1-alpha1
*/
package de.staropensource.sosengine.base.types.vectors;

View file

@ -21,7 +21,7 @@ package de.staropensource.sosengine.base.utility;
import de.staropensource.sosengine.base.exceptions.UnexpectedThrowableException;
import de.staropensource.sosengine.base.exceptions.UnmetDependenciesException;
import de.staropensource.sosengine.base.types.dependency.DependencyVector;
import de.staropensource.sosengine.base.types.DependencyVector;
import de.staropensource.sosengine.base.types.immutable.ImmutableArrayList;
import de.staropensource.sosengine.base.types.immutable.ImmutableLinkedList;
import lombok.Getter;

View file

@ -21,10 +21,10 @@ package de.staropensource.sosengine.base.utility;
import de.staropensource.sosengine.base.Engine;
import de.staropensource.sosengine.base.classes.Placeholder;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.internal.placeholders.*;
import de.staropensource.sosengine.base.logging.Logger;
import de.staropensource.sosengine.base.types.CodePart;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import lombok.Getter;
import org.jetbrains.annotations.NotNull;

View file

@ -19,7 +19,7 @@
package de.staropensource.sosengine.base.utility.converter;
import de.staropensource.sosengine.base.types.ShortcodeParserSkeleton;
import de.staropensource.sosengine.base.classes.ShortcodeParserSkeleton;
import org.fusesource.jansi.Ansi;
import org.jetbrains.annotations.NotNull;

View file

@ -19,7 +19,7 @@
package de.staropensource.sosengine.base.utility.converter;
import de.staropensource.sosengine.base.types.ShortcodeParserSkeleton;
import de.staropensource.sosengine.base.classes.ShortcodeParserSkeleton;
import org.jetbrains.annotations.NotNull;
/**

View file

@ -19,10 +19,10 @@
package de.staropensource.sosengine.base.utility.parser;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.logging.LoggerInstance;
import de.staropensource.sosengine.base.types.CodePart;
import de.staropensource.sosengine.base.types.Tristate;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import lombok.Getter;
import org.jetbrains.annotations.NotNull;

View file

@ -19,7 +19,7 @@
package de.staropensource.sosengine.unittests;
import de.staropensource.sosengine.base.classes.logging.LogLevel;
import de.staropensource.sosengine.base.types.logging.LogLevel;
/**
* Static configuration for the sos!engine unit testing helpers.

View file

@ -19,7 +19,7 @@
package de.staropensource.sosengine.unittests;
import de.staropensource.sosengine.base.classes.logging.LogLevel;
import de.staropensource.sosengine.base.types.logging.LogLevel;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

View file

@ -15,9 +15,8 @@ module sosengine.base {
exports de.staropensource.sosengine.base;
exports de.staropensource.sosengine.base.annotations;
exports de.staropensource.sosengine.base.classes;
exports de.staropensource.sosengine.base.classes.events;
exports de.staropensource.sosengine.base.classes.helpers;
exports de.staropensource.sosengine.base.classes.logging;
exports de.staropensource.sosengine.base.types.logging;
exports de.staropensource.sosengine.base.data.info;
exports de.staropensource.sosengine.base.data.versioning;
exports de.staropensource.sosengine.base.events;
@ -25,10 +24,8 @@ module sosengine.base {
exports de.staropensource.sosengine.base.logging;
exports de.staropensource.sosengine.base.logging.implementation;
exports de.staropensource.sosengine.base.types;
exports de.staropensource.sosengine.base.types.dependency;
exports de.staropensource.sosengine.base.types.immutable;
exports de.staropensource.sosengine.base.types.vectors;
exports de.staropensource.sosengine.base.types.versioning;
exports de.staropensource.sosengine.base.utility;
exports de.staropensource.sosengine.base.utility.converter;
exports de.staropensource.sosengine.base.utility.parser;
@ -41,9 +38,8 @@ module sosengine.base {
opens de.staropensource.sosengine.base;
opens de.staropensource.sosengine.base.annotations;
opens de.staropensource.sosengine.base.classes;
opens de.staropensource.sosengine.base.classes.events;
opens de.staropensource.sosengine.base.classes.helpers;
opens de.staropensource.sosengine.base.classes.logging;
opens de.staropensource.sosengine.base.types.logging;
opens de.staropensource.sosengine.base.data.info;
opens de.staropensource.sosengine.base.data.versioning;
opens de.staropensource.sosengine.base.events;
@ -51,10 +47,8 @@ module sosengine.base {
opens de.staropensource.sosengine.base.logging;
opens de.staropensource.sosengine.base.logging.implementation;
opens de.staropensource.sosengine.base.types;
opens de.staropensource.sosengine.base.types.dependency;
opens de.staropensource.sosengine.base.types.immutable;
opens de.staropensource.sosengine.base.types.vectors;
opens de.staropensource.sosengine.base.types.versioning;
opens de.staropensource.sosengine.base.utility;
opens de.staropensource.sosengine.base.utility.converter;
opens de.staropensource.sosengine.base.utility.parser;

View file

@ -20,7 +20,7 @@
package de.staropensource.sosengine.base.srctests;
import de.staropensource.sosengine.base.EngineConfiguration;
import de.staropensource.sosengine.base.classes.logging.LogLevel;
import de.staropensource.sosengine.base.types.logging.LogLevel;
import de.staropensource.sosengine.unittests.UnitLogger;
import org.jetbrains.annotations.NotNull;
import org.joor.Reflect;

View file

@ -21,14 +21,14 @@ package de.staropensource.sosengine.graphics.opengl;
import de.staropensource.sosengine.base.annotations.EngineSubsystem;
import de.staropensource.sosengine.base.annotations.EventListener;
import de.staropensource.sosengine.base.classes.events.EventPriority;
import de.staropensource.sosengine.base.classes.helpers.EventHelper;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.data.info.EngineInformation;
import de.staropensource.sosengine.base.data.versioning.StarOpenSourceVersioningSystem;
import de.staropensource.sosengine.base.logging.LoggerInstance;
import de.staropensource.sosengine.base.types.CodePart;
import de.staropensource.sosengine.base.types.dependency.DependencyVector;
import de.staropensource.sosengine.base.types.DependencyVector;
import de.staropensource.sosengine.base.types.EventPriority;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import de.staropensource.sosengine.base.utility.Miscellaneous;
import de.staropensource.sosengine.graphics.GraphicsSubsystem;
import de.staropensource.sosengine.graphics.classes.ApiMainClass;

View file

@ -19,9 +19,9 @@
package de.staropensource.sosengine.graphics.opengl.classes;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.logging.LoggerInstance;
import de.staropensource.sosengine.base.types.CodePart;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import de.staropensource.sosengine.base.types.vectors.Vec2i;
import de.staropensource.sosengine.graphics.events.GraphicsApiErrorEvent;
import lombok.Getter;

View file

@ -22,15 +22,15 @@ package de.staropensource.sosengine.graphics;
import de.staropensource.sosengine.base.annotations.EngineSubsystem;
import de.staropensource.sosengine.base.annotations.EventListener;
import de.staropensource.sosengine.base.classes.SubsystemMainClass;
import de.staropensource.sosengine.base.classes.events.EventPriority;
import de.staropensource.sosengine.base.classes.helpers.EventHelper;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.data.info.EngineInformation;
import de.staropensource.sosengine.base.data.versioning.StarOpenSourceVersioningSystem;
import de.staropensource.sosengine.base.internal.events.InternalEngineShutdownEvent;
import de.staropensource.sosengine.base.logging.LoggerInstance;
import de.staropensource.sosengine.base.types.CodePart;
import de.staropensource.sosengine.base.types.dependency.DependencyVector;
import de.staropensource.sosengine.base.types.DependencyVector;
import de.staropensource.sosengine.base.types.EventPriority;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import de.staropensource.sosengine.base.utility.ListFormatter;
import de.staropensource.sosengine.base.utility.Miscellaneous;
import de.staropensource.sosengine.graphics.classes.ApiMainClass;

View file

@ -20,9 +20,9 @@
package de.staropensource.sosengine.graphics;
import de.staropensource.sosengine.base.classes.SubsystemConfiguration;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.logging.Logger;
import de.staropensource.sosengine.base.types.CodePart;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import de.staropensource.sosengine.base.utility.parser.PropertyParser;
import de.staropensource.sosengine.graphics.events.GraphicsErrorEvent;
import lombok.Getter;

View file

@ -22,8 +22,8 @@ package de.staropensource.sosengine.graphics.classes;
import de.staropensource.sosengine.base.Engine;
import de.staropensource.sosengine.base.annotations.EventListener;
import de.staropensource.sosengine.base.classes.SubsystemMainClass;
import de.staropensource.sosengine.base.classes.events.EventPriority;
import de.staropensource.sosengine.base.internal.events.InternalEngineShutdownEvent;
import de.staropensource.sosengine.base.types.EventPriority;
import de.staropensource.sosengine.graphics.events.GraphicsErrorEvent;
import org.jetbrains.annotations.NotNull;

View file

@ -19,11 +19,11 @@
package de.staropensource.sosengine.graphics.events;
import de.staropensource.sosengine.base.classes.events.Event;
import de.staropensource.sosengine.base.classes.Event;
import de.staropensource.sosengine.base.classes.helpers.EventHelper;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.classes.logging.LogLevel;
import de.staropensource.sosengine.base.events.LogEvent;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import de.staropensource.sosengine.base.types.logging.LogLevel;
import org.jetbrains.annotations.NotNull;
import java.lang.reflect.InvocationTargetException;

View file

@ -19,7 +19,7 @@
package de.staropensource.sosengine.graphics.events;
import de.staropensource.sosengine.base.classes.events.Event;
import de.staropensource.sosengine.base.classes.Event;
import de.staropensource.sosengine.base.classes.helpers.EventHelper;
/**

View file

@ -19,11 +19,11 @@
package de.staropensource.sosengine.graphics.events;
import de.staropensource.sosengine.base.classes.events.Event;
import de.staropensource.sosengine.base.classes.Event;
import de.staropensource.sosengine.base.classes.helpers.EventHelper;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.classes.logging.LogLevel;
import de.staropensource.sosengine.base.events.LogEvent;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import de.staropensource.sosengine.base.types.logging.LogLevel;
import org.jetbrains.annotations.NotNull;
import java.lang.reflect.InvocationTargetException;

View file

@ -21,13 +21,13 @@ package de.staropensource.sosengine.graphics.vulkan;
import de.staropensource.sosengine.base.annotations.EngineSubsystem;
import de.staropensource.sosengine.base.annotations.EventListener;
import de.staropensource.sosengine.base.classes.events.EventPriority;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.data.info.EngineInformation;
import de.staropensource.sosengine.base.data.versioning.StarOpenSourceVersioningSystem;
import de.staropensource.sosengine.base.logging.LoggerInstance;
import de.staropensource.sosengine.base.types.CodePart;
import de.staropensource.sosengine.base.types.dependency.DependencyVector;
import de.staropensource.sosengine.base.types.DependencyVector;
import de.staropensource.sosengine.base.types.EventPriority;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import de.staropensource.sosengine.base.utility.Miscellaneous;
import de.staropensource.sosengine.graphics.GraphicsSubsystem;
import de.staropensource.sosengine.graphics.classes.ApiMainClass;

View file

@ -21,10 +21,10 @@ package de.staropensource.sosengine.slf4j_compat;
import de.staropensource.sosengine.base.Engine;
import de.staropensource.sosengine.base.EngineConfiguration;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.classes.logging.LogLevel;
import de.staropensource.sosengine.base.logging.LoggerInstance;
import de.staropensource.sosengine.base.types.CodePart;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import de.staropensource.sosengine.base.types.logging.LogLevel;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.slf4j.Marker;

View file

@ -21,13 +21,13 @@ package de.staropensource.sosengine.slf4j_compat;
import de.staropensource.sosengine.base.annotations.EngineSubsystem;
import de.staropensource.sosengine.base.classes.SubsystemMainClass;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.data.info.EngineInformation;
import de.staropensource.sosengine.base.data.versioning.StarOpenSourceVersioningSystem;
import de.staropensource.sosengine.base.events.LogEvent;
import de.staropensource.sosengine.base.logging.LoggerInstance;
import de.staropensource.sosengine.base.types.CodePart;
import de.staropensource.sosengine.base.types.dependency.DependencyVector;
import de.staropensource.sosengine.base.types.DependencyVector;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import de.staropensource.sosengine.base.utility.Miscellaneous;
import lombok.Getter;
import org.jetbrains.annotations.NotNull;

View file

@ -20,9 +20,9 @@
package de.staropensource.sosengine.testapp;
import de.staropensource.sosengine.base.Engine;
import de.staropensource.sosengine.base.classes.logging.LogIssuer;
import de.staropensource.sosengine.base.logging.LoggerInstance;
import de.staropensource.sosengine.base.types.CodePart;
import de.staropensource.sosengine.base.types.logging.LogIssuer;
import de.staropensource.sosengine.base.types.vectors.Vec2i;
import de.staropensource.sosengine.graphics.GraphicsSubsystem;
import de.staropensource.sosengine.graphics.classes.ApiMainClass;