Class ExternalDocsAnnotation

java.lang.Object
org.apache.juneau.annotation.ExternalDocsAnnotation

public class ExternalDocsAnnotation extends Object
Utility classes and methods for the @ExternalDocs annotation.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • create

      Instantiates a new builder for this class.
      Returns:
      A new builder object.
    • empty

      public static boolean empty(ExternalDocs a)
      Returns true 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

      public static JsonMap merge(JsonMap m, ExternalDocs a) throws ParseException
      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.