package com.fr.plugin.pack; import com.fr.web.struct.Component; import com.fr.web.struct.Filter; import com.fr.web.struct.browser.RequestClient; import com.fr.web.struct.category.ScriptPath; import com.fr.web.struct.category.StylePath; public class ReportDef extends Component { public static final ReportDef KEY = new ReportDef(); public ReportDef(){} public ScriptPath script(RequestClient client ) { return ScriptPath.build("com/fr/plugin/pack/req.js"); } public Filter filter() { return new Filter(){ @Override public boolean accept() { return true; } }; } }