The abstract class for normal array steps.
- Example
%new-style
%require-types
%strict-types
%enable-all-warnings
class MyNormalStepClass inherits QorusNormalArrayStep {
softlist<auto> array() {
}
primary(auto array_arg) {
}
string validation(auto array_arg) {
if (checkAction(array_arg)) {
return OMQ::StatComplete;
}
return checkPending(array_arg) ? OMQ::StatAsyncWaiting : OMQ::StatRetry;
}
bool checkAction(auto array_arg) {
}
bool checkPending(auto array_arg) {
}
}
- Note
- Qorus step constructors do not take any arguments; see Step Constructors and Static Initialization for information about constructors and static class initialization.
- See also
- Normal Steps and Array Step