Annotation Type Redactable


@Documented @Target({ANNOTATION_TYPE,TYPE,METHOD}) @Retention(RUNTIME) @InjectAnnotation(target={ACCESSOR,IMMUTABLE_TYPE}, code="([[*]])", type=Redactable.class) public @interface Redactable
Marker to indicate which classes and methods are Redactable. Redaction is the modification of JSON properties or removal of properties and entire objects during serialization based on STIX Marking Definitions and Granular Markings.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
    boolean
     
  • Element Details

    • useMask

      boolean useMask
      Default:
      false
    • redactionMask

      String redactionMask
      Default:
      "\u2588\u2588REDACTED\u2588\u2588"