oracle.cloud.scanning.api.config.annotation.model

## Interface Annotation

- All Superinterfaces:
    AbstractValue, EnclosingParent

      public interface Annotation
      extends AbstractValue, EnclosingParent

  Models a single annotation. Users will have to define concrete subclass for this interface and instantiate when `IClassConfiguration.getClassAnnotationConfiguration(String)` returns a non-null value for that annotation to be validated further.
  See Also:
    `IAnnotationConfiguration`

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getClassName()` Annotation class name.
    `Map<String,? extends AbstractValue>` | `getValues()` The map with the key being the attribute and the value being the value of the attribute.

    - ### Methods inherited from interface oracle.cloud.scanning.api.config.annotation.model.AbstractValue

      `getEnclosingValue`

- - ### Method Detail

    - #### getClassName

          String getClassName()

      Annotation class name.
      Returns:
        the fully qualified name of the annotation class. Never null

    - #### getValues

          Map<String,? extends AbstractValue> getValues()

      The map with the key being the attribute and the value being the value of the attribute.
      Returns:
        all the annotation attributes and their values. Never null, returns empty map when there is no attribute specified. The key should include even the default attribute name. Key cannot be null.

Copyright © 2018 Oracle. All rights reserved.