Class CustomEvent

    • Method Detail

      • getSubtype

        @Nullable
        public String getSubtype()
      • getObject

        @Nullable
        public Object getObject()
      • isRelatedToItem

        public boolean isRelatedToItem​(ItemPath itemPath)
        Description copied from interface: Event
        Checks if the event is related to an item with a given path. The meaning of the result depends on a kind of event (focal, resource object, workflow) and on operation (add, modify, delete). Namely, this method is currently defined for ADD and MODIFY (not for DELETE) operations, for focal and resource objects events (not for workflow ones). For MODIFY it checks whether an item with a given path is touched. For ADD it checks whether there is a value for an item with a given path in the object created. For unsupported events the method returns false. Paths are compared without taking ID segments into account. EXPERIMENTAL; does not always work (mainly for values being deleted)
        Returns:
      • debugDump

        public String debugDump​(int indent)