2021-03-03 12:27:09 +00:00
|
|
|
package com.btk5h.skriptdb.events;
|
|
|
|
|
|
|
|
import org.bukkit.event.Event;
|
|
|
|
import org.bukkit.event.HandlerList;
|
|
|
|
|
|
|
|
public class SQLQueryCompleteEvent extends Event {
|
|
|
|
private final static HandlerList HANDLERS = new HandlerList();
|
2021-06-22 18:26:46 +00:00
|
|
|
private final String argument;
|
2021-03-03 12:27:09 +00:00
|
|
|
|
|
|
|
public SQLQueryCompleteEvent(String argument) {
|
|
|
|
super(true);
|
|
|
|
this.argument = argument;
|
2021-06-22 18:26:46 +00:00
|
|
|
// this.variables = variables;
|
2021-03-03 12:27:09 +00:00
|
|
|
}
|
2021-06-22 18:26:46 +00:00
|
|
|
|
|
|
|
public static HandlerList getHandlerList() {
|
|
|
|
return HANDLERS;
|
|
|
|
}
|
|
|
|
|
2021-03-03 12:27:09 +00:00
|
|
|
@Override
|
|
|
|
public String getEventName() {
|
|
|
|
return super.getEventName();
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public HandlerList getHandlers() {
|
|
|
|
return HANDLERS;
|
|
|
|
}
|
|
|
|
|
2021-05-12 10:17:42 +00:00
|
|
|
public String getQuery() {
|
2021-03-03 12:27:09 +00:00
|
|
|
return argument;
|
|
|
|
}
|
|
|
|
|
2021-06-22 18:26:46 +00:00
|
|
|
// public String getVariables() {return;}
|
2021-03-03 12:27:09 +00:00
|
|
|
}
|