com.haoxuer.discover.plug.api.ProxyPlugin Maven / Gradle / Ivy
package com.haoxuer.discover.plug.api;
import com.haoxuer.discover.rest.base.ResponseObject;
import org.apache.commons.lang3.builder.CompareToBuilder;
import java.util.Map;
public abstract class ProxyPlugin extends IPlugin {
public abstract ResponseObject handle(Map params);
/**
* 目录
* @return
*/
public abstract String catalog();
@Override
public int compareTo(IPlugin plug) {
return new CompareToBuilder().append(getOrder(), plug.getOrder()).build();
}
@Override
public String getBaseUrl() {
return "admin/plugin_proxy/";
}
@Override
public String getAuthor() {
return "ada.young";
}
@Override
public String getSiteUrl() {
return "http://www.haoxuer.com";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy