@API(status=MAINTAINED,
since="1.4.0")
public interface PropertyExecutor
| Modifier and Type | Interface and Description |
|---|---|
static interface |
PropertyExecutor.Runnable |
| Modifier and Type | Method and Description |
|---|---|
PropertyExecutionResult |
execute()
Call to actually run the property, including all hooks that are "closer"
(have a higher proximity) than the current hook.
|
default PropertyExecutionResult |
executeAndFinally(PropertyExecutor.Runnable andFinally)
execute() the property and then call
andFinally,
even if property execution fails with an exception |
PropertyExecutionResult execute()
@API(status=EXPERIMENTAL,
since="1.7.4")
default PropertyExecutionResult executeAndFinally(PropertyExecutor.Runnable andFinally)
andFinally,
even if property execution fails with an exceptionandFinally - the code to call after execution