Annotation Interface InheritedArg
Marks a parameter as inherited from an ancestor command's pathway.
The framework automatically resolves which ancestor pathway provides this parameter.
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String valueThe name of the argument to inherit from ancestor pathway. If empty, the parameter name is used for matching.- Default:
- ""
-
type
Class<?> typeThe expected type of the inherited argument (for validation). If not specified, uses the parameter's actual type.- Default:
- java.lang.Void.class
-