Interface IMonitorEventSPI

    • Method Detail

      • addField

        IMonitorEventSPI addField​(IMonitorField field,
                                  boolean required)
        Adds the given field in this event.
        Parameters:
        field - the field.
        required - indicates whether the given field is required.
        Returns:
        this event for chaining.
        Since:
        9.0.0
      • addFieldGroup

        IMonitorEventSPI addFieldGroup​(IMonitorFieldGroup fieldGroup,
                                       boolean required)
        Adds the given field group in this event.
        Parameters:
        fieldGroup - the field group
        required - indicates whether the fields of the given field group are required.
        Returns:
        this event for chaining.
        Since:
        11.0.0
      • removeField

        IMonitorEventSPI removeField​(String fieldId)
        Removes the given field.
        Parameters:
        fieldId - the field identifier.
        Returns:
        this event.
        Since:
        10.2.0
      • removeFieldGroup

        IMonitorEventSPI removeFieldGroup​(String fieldGroupId)
        Removes the given field group.
        Parameters:
        fieldGroupId - the field group identifier.
        Returns:
        this event.
        Since:
        11.0.0
      • setEnabled

        IMonitorEventSPI setEnabled​(boolean enabled)
        Enables or disables the monitoring of this event.
        Parameters:
        enabled - true to enable or false to disable.
        Returns:
        this event for chaining.
        Since:
        9.0.0
      • setStandard

        IMonitorEventSPI setStandard​(boolean isStandard)
        Sets this event either as standard or custom (non-standard).
        Parameters:
        isStandard - true to mark this event as standard, false to custom.
        Returns:
        this event for chaining.
        Since:
        11.0.0
      • setProcessActionEvent

        IMonitorEventSPI setProcessActionEvent​(boolean isProcessActionEvent)
        Sets this event either as process action event or a normal one.
        Parameters:
        isProcessActionEvent - true to mark this event as a process action one.
        Returns:
        this event for chaining.
        Since:
        11.0.0
      • setImage

        IMonitorEventSPI setImage​(String image)
        Sets the image.
        Parameters:
        image - the image value to set.
        Since:
        11.0.0
      • setVerb

        IMonitorEventSPI setVerb​(String verb)
        Sets the image.
        Parameters:
        image - the image value to set.
        Since:
        11.0.0
      • isProcessActionEvent

        boolean isProcessActionEvent()
        Returns if the event is a process action event.
        Returns:
        if the event is a process action event
        Since:
        11.0.0
      • getDirectFields

        Collection<IMonitorFieldInstance> getDirectFields()
        Returns the fields that are associated with this event directly (not through a field group).
        Returns:
        the fields that are associated with this event directly (not through a field group).
        Since:
        11.0.0
      • getFieldsGroups

        Collection<IMonitorFieldGroupInstance> getFieldsGroups()
        Returns the field groups associated with this event.
        Returns:
        the field groups associated with this event.
        Since:
        11.0.0