Class TaskEvent

    • Method Detail

      • getTask

        @NotNull
        public Task getTask()
      • getTaskRunResult

        @Nullable
        public TaskRunResult getTaskRunResult()
      • isTemporaryError

        public boolean isTemporaryError()
      • isPermanentError

        public boolean isPermanentError()
      • isFinished

        public boolean isFinished()
      • isInterrupted

        public boolean isInterrupted()
      • isRestartRequested

        public boolean isRestartRequested()
      • 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:
      • getMessage

        public String getMessage()
      • getProgress

        public long getProgress()
      • debugDump

        public String debugDump​(int indent)