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();
|
|
|
|
private String argument;
|
|
|
|
|
|
|
|
public SQLQueryCompleteEvent(String argument) {
|
|
|
|
super(true);
|
|
|
|
this.argument = argument;
|
|
|
|
// this.variables = variables;
|
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public String getEventName() {
|
|
|
|
return super.getEventName();
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public HandlerList getHandlers() {
|
|
|
|
return HANDLERS;
|
|
|
|
}
|
|
|
|
public static HandlerList getHandlerList() {
|
|
|
|
return HANDLERS;
|
|
|
|
}
|
|
|
|
|
2021-05-12 10:17:42 +00:00
|
|
|
public String getQuery() {
|
2021-03-03 12:27:09 +00:00
|
|
|
return argument;
|
|
|
|
}
|
|
|
|
|
|
|
|
// public String getVariables() {return;}
|
|
|
|
}
|