Class RestInjectAnnotation
java.lang.Object
org.apache.juneau.rest.annotation.RestInjectAnnotation
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic @interface
A collection of@RestInject annotations
.static class
Builder class. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic RestInjectAnnotation.Builder
create()
Instantiates a new builder for this class.static String
name
(RestInject a) Pulls the name/value attribute from aRestInject
annotation.
-
Field Details
-
DEFAULT
Default value
-
-
Constructor Details
-
RestInjectAnnotation
public RestInjectAnnotation()
-
-
Method Details
-
create
Instantiates a new builder for this class.- Returns:
- A new builder object.
-
name
Pulls the name/value attribute from aRestInject
annotation.- Parameters:
a
- The annotation to check. Can benull .- Returns:
- The annotation value, or an empty string if the annotation is
null .
-