Revert API

This commit is contained in:
2022-04-10 01:47:33 -05:00
parent f73c63f1e7
commit dcecebdc8d
152 changed files with 155 additions and 203 deletions

View File

@ -0,0 +1,31 @@
package dev.plex.services;
import dev.plex.PlexBase;
import lombok.Getter;
import lombok.Setter;
@Getter
public abstract class AbstractService extends PlexBase implements IService
{
private boolean asynchronous;
private boolean repeating;
@Setter
private int taskId;
public AbstractService(boolean repeating, boolean async)
{
this.repeating = repeating;
this.asynchronous = async;
}
public void onStart()
{
}
public void onEnd()
{
}
}