Annotation Interface GlobalAttachmentMode
@Retention(RUNTIME)
@Target({TYPE,METHOD})
@AvailableSince("1.9.0")
public @interface GlobalAttachmentMode
Sets a default attachment mode for all subcommands under the annotated type or method
when their own attachment mode is
AttachmentMode.UNSET.-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionRetrieves theAttachmentModeassociated with this annotation.
-
Element Details
-
value
AttachmentMode valueRetrieves theAttachmentModeassociated with this annotation.- Returns:
- the attachment mode that defines how a subcommand integrates with the usages of a command.
-