public class FormState extends AbstractContexed
Modifier and Type | Class and Description |
---|---|
class |
FormState.NextAction |
class |
FormState.ResetAction |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NEXT_ACTION |
static java.lang.String |
RESET_ACTION |
conn
Constructor and Description |
---|
FormState(AppContext conn,
java.lang.String name,
FormResult self) |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Delete all cached state under this name.
|
boolean |
poll(Form f)
poll the cached state for the contents of a partially build form.
|
getContext, getLogger, resetLogger
public static final java.lang.String NEXT_ACTION
public static final java.lang.String RESET_ACTION
public FormState(AppContext conn, java.lang.String name, FormResult self)
conn
- public boolean poll(Form f) throws TransitionException
If the form validates in the new state:
If the cached values are not found:
f
- Form
being builtTransitionException
public void clear()