@Override public Boolean perform( ProcessFactory f, Name oldName, Name newName, Object... args) { return f.supportsProgress(newName); } });
public boolean supportsProgress(Name name) { return delegate.supportsProgress(name); }
public boolean supportsProgress(Name name) { if (selector.allowProcess(name)) { return delegate.supportsProgress(name); } else { return false; } } }
public boolean supportsProgress(Name name) { if (selector.allowProcess(name)) { return delegate.supportsProgress(name); } else { return false; } } }
private void processDescription(ProcessFactory pf, Name identifier) { AttributesImpl attributes = new AttributesImpl(); attributes.addAttribute("", "wps:processVersion", "wps:processVersion", "", pf.getVersion(identifier)); attributes.addAttribute("", "statusSupported", "statusSupported", "", Boolean.toString(pf.supportsProgress(identifier))); start("ProcessDescription", attributes); element("ows:Identifier", identifier.getURI()); element("ows:Title", pf.getTitle(identifier).toString(this.locale)); element("ows:Abstract", pf.getDescription(identifier).toString(this.locale)); this.dataInputs(pf, identifier); this.processOutputs(pf, identifier); end("ProcessDescription"); }
private void processDescription(ProcessFactory pf, Name identifier) { AttributesImpl attributes = new AttributesImpl(); attributes.addAttribute( "", "wps:processVersion", "wps:processVersion", "", pf.getVersion(identifier)); attributes.addAttribute( "", "statusSupported", "statusSupported", "", Boolean.toString(pf.supportsProgress(identifier))); start("ProcessDescription", attributes); element("ows:Identifier", identifier.getURI()); element("ows:Title", pf.getTitle(identifier).toString(this.locale)); element("ows:Abstract", pf.getDescription(identifier).toString(this.locale)); this.dataInputs(pf, identifier); this.processOutputs(pf, identifier); end("ProcessDescription"); }