1
2
3
4
5
6
7
8
9
10 package org.astrogrid.applications.http.script;
11
12 import org.astrogrid.applications.beans.v1.WebHttpCall;
13 import org.astrogrid.registry.beans.cea.CeaHttpApplicationType;
14 import org.astrogrid.workflow.beans.v1.Tool;
15
16 /***
17 * Processes the tool and application documents into a calling document.
18 * The tool document contains info on which interface is being used, the
19 * actual parameter values etc, while the applicaiton document will contain
20 * info about the app itself, such as its URL. These used to construct (e.g. by xslt)
21 * a simple calling document containing all the info that the HttpClient requires.
22 * @author jdt
23 */
24 public interface Preprocessor {
25 public WebHttpCall process(Tool tool, CeaHttpApplicationType app);
26 }