mirror of
https://github.com/plexusorg/Plex.git
synced 2026-06-05 14:06:53 +00:00
More modernization for the database
This commit is contained in:
@@ -1,16 +1,18 @@
|
||||
package dev.plex.services;
|
||||
|
||||
import dev.plex.PlexBase;
|
||||
import dev.plex.Plex;
|
||||
import lombok.Getter;
|
||||
|
||||
@Getter
|
||||
public abstract class AbstractService implements IService, PlexBase
|
||||
public abstract class AbstractService implements IService
|
||||
{
|
||||
protected final Plex plugin;
|
||||
private final boolean asynchronous;
|
||||
private final boolean repeating;
|
||||
|
||||
public AbstractService(boolean repeating, boolean async)
|
||||
public AbstractService(Plex plugin, boolean repeating, boolean async)
|
||||
{
|
||||
this.plugin = plugin;
|
||||
this.repeating = repeating;
|
||||
this.asynchronous = async;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user