Class AuditRouteDescriptor.EventDescriptor

java.lang.Object
org.nuxeo.audit.service.extension.AuditRouteDescriptor.EventDescriptor
All Implemented Interfaces:
Descriptor
Enclosing class:
AuditRouteDescriptor

public static class AuditRouteDescriptor.EventDescriptor extends Object implements Descriptor
  • Field Details

    • name

      protected String name
    • enabled

      protected Boolean enabled
  • Constructor Details

    • EventDescriptor

      public EventDescriptor()
  • Method Details

    • getId

      public String getId()
      Description copied from interface: Descriptor
      The descriptor id, descriptors with same id are merged.

      To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.

      To forbid merge use a unique value, non-overriden toString() for exemple.

      Specified by:
      getId in interface Descriptor
    • getName

      public String getName()
    • isEnabled

      public boolean isEnabled()
    • merge

      Description copied from interface: Descriptor
      Returns a descriptor representing other merged into this

      Default implementation returns other.

      Specified by:
      merge in interface Descriptor
      Returns:
      the merged descriptor
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object