]> git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.autoui/src/main/java/org/argeo/slc/autoui/AutoUiStep.java
Start using Spring
[gpl/argeo-slc.git] / org.argeo.slc.autoui / src / main / java / org / argeo / slc / autoui / AutoUiStep.java
1 package org.argeo.slc.autoui;
2
3 public interface AutoUiStep {
4 /** Runs synchronously. */
5 public void run();
6
7 /** Closes and releases the associated resources. */
8 public void close();
9
10 /**
11 * Sets an input parameter. Value can be various Java type and implementors
12 * are supposed to document which data types are supported.
13 */
14 public void setInputParameter(Object key, Object value);
15
16 /**
17 * Gets an output parameter. Implementors are supposed to convert the
18 * returned value to the appropriate data type.
19 */
20 public Object getOutputParameter(Object key);
21
22 }