@Target(value={PARAMETER,METHOD,TYPE}) @Retention(value=RUNTIME) @Documented public @interface Iterative
@Iterative
before @Import
.
// external inputs
@IterativeBatch(name = ...)
public class Something extends FlowDescription {
...
public Something(
@Iterative(...) @Import(...) In<...> input,
...) {
...
}
...
}
@Iterative
before
its operator annotation.
// operators
public abstract class Something {
...
@Iterative(...)
@SomeOperator
public void something(...) {
... BatchContext.get("some-iterative-parameter") ...
}
...
}
@Iterative
has iterative parameter names
, the annotated element will be
considered as a scoped iterative element. It sometimes has advantages for scope-less iterative
elements: re-evaluating the target element will be reduced (optional operation).public abstract String[] value
Copyright © 2011–2018 Asakusa Framework Team. All rights reserved.