primary
boolean primary
Whether this is a primary arg (inside method parentheses). Default is true.
- Default:
true
filter(simple("...")) rather than as chained
attribute calls (e.g., .timeout("5000")).
The Java DSL model writer code generator reads this annotation at build time to determine which fields to render as
method arguments and how to render them.String[]@DslArg annotations should be
ignored for this class.intbooleanenumString render type: the simple name of the enum class (e.g., "ExchangePattern", "LoggingLevel").0"string" — quoted string: quote(value)"class" — class literal: MyClass.class"expression" — expression DSL: simple("...")"expressionSub" — expression sub-element: unwrap ExpressionSubElementDefinition"enumString" — enum constant from string: LoggingLevel.INFO"long" — numeric literal (no quotes)"classList" — list of class literals: Exception1.class, Exception2.class""enumString render type: the simple name of the enum class (e.g., "ExchangePattern", "LoggingLevel").
This is used to generate the qualified enum constant reference in the Java DSL output.""true@DslArg annotations should be
ignored for this class. This allows subclasses to suppress inherited primary arguments that don't apply to their
DSL method signature.{}