Package org.apache.juneau.annotation
Class ExternalDocsAnnotation
java.lang.Object
org.apache.juneau.annotation.ExternalDocsAnnotation
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate()
Instantiates a new builder for this class.static boolean
Returnstrue if the specified annotation contains all default values.static JsonMap
merge
(JsonMap m, ExternalDocs a) Merges the contents of the specified annotation into the specified generic map.
-
Field Details
-
DEFAULT
Default value
-
-
Constructor Details
-
ExternalDocsAnnotation
public ExternalDocsAnnotation()
-
-
Method Details
-
create
Instantiates a new builder for this class.- Returns:
- A new builder object.
-
empty
Returnstrue if the specified annotation contains all default values.- Parameters:
a
- The annotation to check.- Returns:
true if the specified annotation contains all default values.
-
merge
Merges the contents of the specified annotation into the specified generic map.- Parameters:
m
- The map to copy the contents to.a
- The annotation to apply.- Returns:
- The same map with the annotation contents applied.
- Throws:
ParseException
- Invalid JSON found in value.
-