![Stefano Mazzocchi](/assets/img/avatar_default.png)
git-svn-id: http://google-refine.googlecode.com/svn/branches/split-refactor@905 7d457c2a-affb-35e4-300a-418c747d4874
18 lines
547 B
Java
18 lines
547 B
Java
package com.metaweb.gridworks.gel;
|
|
|
|
import java.util.Properties;
|
|
|
|
import com.metaweb.gridworks.Jsonizable;
|
|
import com.metaweb.gridworks.expr.Evaluable;
|
|
|
|
/**
|
|
* Interface of GEL controls such as if, forEach, forNonBlank, with. A control can
|
|
* decide which part of the code to execute and can affect the environment bindings.
|
|
* Functions, on the other hand, can't do either.
|
|
*/
|
|
public interface Control extends Jsonizable {
|
|
public Object call(Properties bindings, Evaluable[] args);
|
|
|
|
public String checkArguments(Evaluable[] args);
|
|
}
|