| Modifier and Type | Field and Description |
|---|---|
| private final FacesContext | |
| private final Map | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private void | |
| private void | |
| public ScopedRunner |
| context | back to summary |
|---|---|
| private final FacesContext context | |
| previousVariables | back to summary |
|---|---|
| private final Map<String, Object> previousVariables | |
| scopedVariables | back to summary |
|---|---|
| private final Map<String, Object> scopedVariables | |
| ScopedRunner | back to summary |
|---|---|
| public ScopedRunner(FacesContext context) | |
| ScopedRunner | back to summary |
|---|---|
| public ScopedRunner(FacesContext context, Map<String, Object> scopedVariables) | |
| invoke | back to summary |
|---|---|
| public void invoke(Runnable callback) Invokes the callback within the scope of the variables being given in the constructor.
| |
| restorePreviousScope | back to summary |
|---|---|
| private void restorePreviousScope() | |
| setNewScope | back to summary |
|---|---|
| private void setNewScope() | |
| with | back to summary |
|---|---|
| public ScopedRunner with(String key, Object value) Adds the given variable to this instance. Can be used in a builder-pattern.
| |