All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.haoxuer.discover.plug.api.ProxyPlugin Maven / Gradle / Ivy

There is a newer version: 3.3.18-20230117
Show newest version
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