Class NotificationEventType

    • Field Detail

      • EXECUTION_DESCRIPTION

        public static final java.lang.String EXECUTION_DESCRIPTION
        See Also:
        Constant Field Values
    • Constructor Detail

      • NotificationEventType

        protected NotificationEventType​(MultitenancyManager multitenancyManager)
    • Method Detail

      • getRecipientContext

        protected static java.lang.String getRecipientContext​(NotificationSubscription subscription,
                                                              step.core.execution.ExecutionContext context)
      • getTenant

        protected java.lang.String getTenant​(step.core.execution.ExecutionContext context)
      • getTenant

        public static java.lang.String getTenant​(MultitenancyManager multitenancyManager,
                                                 step.core.execution.ExecutionContext context)
      • getTenant

        public java.lang.String getTenant​(step.core.execution.model.Execution execution)
      • addNotificationBindingsForExecutionEvent

        protected void addNotificationBindingsForExecutionEvent​(step.core.execution.ExecutionContext context,
                                                                Notification notification)
      • getStatus

        protected static step.core.artefacts.reports.ReportNodeStatus getStatus​(step.core.execution.ExecutionContext context)
      • getExecutionParameters

        protected static java.util.Map<java.lang.String,​java.lang.String> getExecutionParameters​(step.core.execution.ExecutionContext context)
      • getDescription

        protected static java.lang.String getDescription​(step.core.execution.ExecutionContext context)
      • getExecutionUrl

        protected java.lang.String getExecutionUrl​(step.core.execution.ExecutionContext context)
      • getExecutionUrl

        public static java.lang.String getExecutionUrl​(MultitenancyManager multitenancyManager,
                                                       step.core.execution.ExecutionContext context)
      • getExecutionUrl

        public java.lang.String getExecutionUrl​(ch.exense.commons.app.Configuration configuration,
                                                step.core.execution.model.Execution execution)
      • getControllerUrl

        protected static java.lang.String getControllerUrl​(step.core.execution.ExecutionContext context)
      • getControllerUrl

        protected static java.lang.String getControllerUrl​(ch.exense.commons.app.Configuration configuration)
      • buildWebhookNotificationMessage

        protected void buildWebhookNotificationMessage​(ExecutionMessage executionMessage,
                                                       NotificationSubscription subscription,
                                                       step.core.execution.ExecutionContext context,
                                                       java.lang.String eventType)