mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-04-18 12:57:39 +00:00
[AB-xx] fixing javadoc
This commit is contained in:
@@ -22,7 +22,7 @@ import java.util.concurrent.CompletableFuture;
|
||||
|
||||
/**
|
||||
* This command can be used to synchronize the state of {@link dev.sheldan.abstracto.statistic.emote.model.database.TrackedEmote}
|
||||
* in the database, with the state of {@link net.dv8tion.jda.api.entities.Emote} in the {@link net.dv8tion.jda.api.entities.Guild}.
|
||||
* in the database, with the state of emote in the {@link net.dv8tion.jda.api.entities.Guild}.
|
||||
* It will mark emotes not in the guild anymore and add emotes which are not yet tracked.
|
||||
*/
|
||||
@Component
|
||||
|
||||
@@ -25,7 +25,7 @@ import java.util.List;
|
||||
|
||||
/**
|
||||
* This command can be used to track one individual {@link TrackedEmote} newly, or set the emote to be tracked again.
|
||||
* This can either be done via providing the {@link net.dv8tion.jda.api.entities.Emote} or via ID.
|
||||
* This can either be done via providing the emote or via ID.
|
||||
*/
|
||||
@Component
|
||||
public class TrackEmote extends AbstractConditionableCommand {
|
||||
|
||||
@@ -21,8 +21,8 @@ public interface UsedEmoteRepository extends JpaRepository<UsedEmote, UsedEmoteD
|
||||
/**
|
||||
* Selects the {@link UsedEmote} for one particular {@link dev.sheldan.abstracto.statistic.emote.model.database.TrackedEmote}
|
||||
* for the current date.
|
||||
* @param emoteId The ID of the {@link net.dv8tion.jda.api.entities.Emote} which is being tracked
|
||||
* @param server_id The ID of the {@link net.dv8tion.jda.api.entities.Guild} which is the server where the {@link net.dv8tion.jda.api.entities.Emote}
|
||||
* @param emoteId The ID of the emote which is being tracked
|
||||
* @param server_id The ID of the {@link net.dv8tion.jda.api.entities.Guild} which is the server where the emote
|
||||
* is being tracked
|
||||
* @return An {@link Optional} containing a possible {@link UsedEmote}, if it exists for the criteria, an empty Optional otherwise.
|
||||
*/
|
||||
|
||||
@@ -19,7 +19,7 @@ public class TrackedEmoteRunTimeStorage {
|
||||
* map will not contain many keys, because the {@link dev.sheldan.abstracto.statistic.emote.job.EmotePersistingJob}
|
||||
* will remove them a minute later. The Map within the current minute will contain every server as a key in which
|
||||
* there were emotes used in the particular minute. {@link PersistingEmote} does not contain any JDA related objects
|
||||
* but only the information necessary to identify any {@link net.dv8tion.jda.api.entities.Emote}.
|
||||
* but only the information necessary to identify any emote.
|
||||
*/
|
||||
private HashMap<Long, Map<Long, List<PersistingEmote>>> trackedEmotes = new HashMap<>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user