[AB-205] making exception message for command not found configurable

making feature config classes more unified in the naming
This commit is contained in:
Sheldan
2021-03-21 22:59:01 +01:00
parent 5eefc3909e
commit f53f0cb66c
44 changed files with 176 additions and 129 deletions

View File

@@ -13,7 +13,7 @@ import java.util.List;
* {@link FeatureConfig} implementation to define the EmoteTracking feature.
*/
@Component
public class EmoteTrackingFeature implements FeatureConfig {
public class EmoteTrackingFeatureConfig implements FeatureConfig {
/**
* {@link FeatureDefinition} represents the feature uniquely
@@ -24,7 +24,7 @@ public class EmoteTrackingFeature implements FeatureConfig {
}
/**
* This feature contains three feature modes. For explanation of them check {@link EmoteTrackingFeature}
* This feature contains three feature modes. For explanation of them check {@link EmoteTrackingFeatureConfig}
* @return list of {@link FeatureMode} handled by this feature.
*/
@Override

View File

@@ -4,7 +4,7 @@ import dev.sheldan.abstracto.core.config.FeatureMode;
import lombok.Getter;
/**
* {@link FeatureMode}s for {@link EmoteTrackingFeature}. These modes include:
* {@link FeatureMode}s for {@link EmoteTrackingFeatureConfig}. These modes include:
* AUTO_TRACK: This controls a listener which listens for the emote events of a server, and automatically creates/updates/marks as deleted instances in the database if the respective event happens
* Influences:
* EXTERNAL_EMOTES: Enables the tracking of emotes which are not from the server the feature is enabled in. This feature alone only enables to track emotes with the `trackEmote` command and makes the command `externalEmoteStats` (and more) available

View File

@@ -3,6 +3,7 @@ package dev.sheldan.abstracto.statistic.emote.model.database;
import dev.sheldan.abstracto.core.models.Fakeable;
import dev.sheldan.abstracto.core.models.ServerSpecificId;
import dev.sheldan.abstracto.core.models.database.AServer;
import dev.sheldan.abstracto.statistic.emote.config.EmoteTrackingFeatureConfig;
import lombok.*;
import javax.persistence.*;
@@ -10,7 +11,7 @@ import java.io.Serializable;
import java.time.Instant;
/**
* The instance of an emote which is being tracked by {@link dev.sheldan.abstracto.statistic.emote.config.EmoteTrackingFeature}.
* The instance of an emote which is being tracked by {@link EmoteTrackingFeatureConfig}.
* This represents an emote by its unique ID and the respective server its being tracked in. This emote might not be part of the server
* and might have been deleted.
*/