class pyes.scriptfields.ScriptField(script, lang='mvel', params=None, ignore_failure=False)
class pyes.scriptfields.ScriptFields(name=None, script=None, lang=None, params=None, ignore_failure=False)

This object create the script_fields definition

add_field(name, script, lang=None, params=None, ignore_failure=False)

Add a field to script_fields

add_parameter(field_name, param_name, param_value)

Add a parameter to a field into script_fields

The ScriptFields object will be returned, so calls to this can be chained.