Direct
Direct is the simplest built-in action.
Factory
Direct.of(String name, Direct.Executable executable)
The callback shape is:
void execute(Context context) throws Throwable
Example
import org.paramixel.core.action.Direct;
Direct step = Direct.of("create user", context -> {
String baseUrl = context.getConfiguration().get("service.url");
// test logic here
});
Result behavior
- normal return ->
PASS throw SkipException.skip(...)->SKIPthrow FailException.fail(...)->FAIL- any other thrown exception -> listener gets
actionThrowable(...), then result becomesFAIL throw Error-> propagates immediately (not caught, no result set)