diff --git a/telestion-api/src/main/java/de/wuespace/telestion/api/verticle/GenericConfiguration.java b/telestion-api/src/main/java/de/wuespace/telestion/api/verticle/GenericConfiguration.java deleted file mode 100644 index 6cfc7d03..00000000 --- a/telestion-api/src/main/java/de/wuespace/telestion/api/verticle/GenericConfiguration.java +++ /dev/null @@ -1,18 +0,0 @@ -package de.wuespace.telestion.api.verticle; - -import com.fasterxml.jackson.annotation.JsonIgnoreProperties; - -/** - * The type of configuration for a {@link TelestionVerticle} that you use - * to indicate that the verticle does not have a strictly typed configuration. - * - * @author Pablo Klaschka (@pklaschka), Ludwig Richter (@fussel178) - * @see TelestionVerticle#getConfig() - * @deprecated Use {@link UntypedConfiguration} to indicate generic, untyped configuration or {@link NoConfiguration} - * to indicate no configuration options instead. To build your own typed configuration options, implement - * {@link TelestionConfiguration}. - */ -@Deprecated(since = "0.8.0") -@JsonIgnoreProperties(ignoreUnknown = true) -public record GenericConfiguration() implements TelestionConfiguration { -} diff --git a/telestion-api/src/main/java/de/wuespace/telestion/api/verticle/package-info.java b/telestion-api/src/main/java/de/wuespace/telestion/api/verticle/package-info.java index 78b9d44b..d4276fe2 100644 --- a/telestion-api/src/main/java/de/wuespace/telestion/api/verticle/package-info.java +++ b/telestion-api/src/main/java/de/wuespace/telestion/api/verticle/package-info.java @@ -11,8 +11,9 @@ * in the same class called Configuration. By inferring the generics of the * {@link de.wuespace.telestion.api.verticle.TelestionVerticle} with this {@code Configuration}, the loading code for * configurations gets reduced massively.
- * When using no {@code Configuration} it is recommended to use {@link de.wuespace.telestion.api.verticle.GenericConfiguration} + * When using no {@code Configuration} it is recommended to use {@link de.wuespace.telestion.api.verticle.NoConfiguration} * which is telling the implementation, that a configuration is not needed. + * If you need to use dynamic or untyped configuration parameters, use {@link de.wuespace.telestion.api.verticle.UntypedConfiguration}. *

* By implementing {@link de.wuespace.telestion.api.verticle.trait traits} the functionality of the * {@link de.wuespace.telestion.api.verticle.TelestionVerticle} can be increased even more.