Annotation Interface MultiProcessorUseCase
@Documented
@Target(TYPE)
@Retention(RUNTIME)
@Inherited
@Repeatable(MultiProcessorUseCases.class)
public @interface MultiProcessorUseCase
An annotation that can be used for Processors in order to explain a specific use case that can be accomplished using this Processor in conjunction with at least one other Processor. For Processors that are able to be used for multiple use cases, the component may be annotated with multiple MultiProcessorUseCase annotations.
Note that this annotation differs from UseCase
in that UseCase should describe a use case that is
accomplished using only the extension that is annotated. In contrast, MultiProcessorUseCase documents a use case
that is accomplished by using both the Processor that is annotated as well as other Processors.
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionAn array ofProcessorConfiguration
s that are necessary in order to accomplish the task described in this use case.A simple 1 (at most 2) sentence description of the use case. -
Optional Element Summary
Optional Elements
-
Element Details
-
description
String descriptionA simple 1 (at most 2) sentence description of the use case. This should not include any extraneous details, such as caveats, examples, etc. Those can be provided using thenotes()
method.- Returns:
- a simple description of the use case
-
notes
String notesMost of the time, 1-2 sentences is sufficient to describe a use case. Those 1-2 sentence should then be returned by thedescription()
. In the event that the description is not sufficient, details may be provided to further explain, by providing examples, caveats, etc.- Returns:
- any important notes that pertain to the use case
- Default:
""
-
keywords
String[] keywordsAn optional array of keywords that can be associated with the use case.- Returns:
- keywords associated with the use case
- Default:
{}
-
configurations
ProcessorConfiguration[] configurationsAn array ofProcessorConfiguration
s that are necessary in order to accomplish the task described in this use case.- Returns:
- an array of processor configurations
-