Class TriggerRun


  • public final class TriggerRun
    extends Object
    Trigger runs.
    • Constructor Detail

      • TriggerRun

        public TriggerRun()
    • Method Detail

      • triggerRunId

        public String triggerRunId()
        Get the triggerRunId property: Trigger run id.
        Returns:
        the triggerRunId value.
      • triggerName

        public String triggerName()
        Get the triggerName property: Trigger name.
        Returns:
        the triggerName value.
      • triggerType

        public String triggerType()
        Get the triggerType property: Trigger type.
        Returns:
        the triggerType value.
      • triggerRunTimestamp

        public OffsetDateTime triggerRunTimestamp()
        Get the triggerRunTimestamp property: Trigger run start time.
        Returns:
        the triggerRunTimestamp value.
      • status

        public TriggerRunStatus status()
        Get the status property: Trigger run status.
        Returns:
        the status value.
      • message

        public String message()
        Get the message property: Trigger error message.
        Returns:
        the message value.
      • properties

        public Map<String,​String> properties()
        Get the properties property: List of property name and value related to trigger run. Name, value pair depends on type of trigger.
        Returns:
        the properties value.
      • triggeredPipelines

        public Map<String,​String> triggeredPipelines()
        Get the triggeredPipelines property: List of pipeline name and run Id triggered by the trigger run.
        Returns:
        the triggeredPipelines value.
      • runDimension

        public Map<String,​String> runDimension()
        Get the runDimension property: Run dimension for which trigger was fired.
        Returns:
        the runDimension value.
      • dependencyStatus

        public Map<String,​Object> dependencyStatus()
        Get the dependencyStatus property: Status of the upstream pipelines.
        Returns:
        the dependencyStatus value.
      • additionalProperties

        public Map<String,​Object> additionalProperties()
        Get the additionalProperties property: Trigger runs.
        Returns:
        the additionalProperties value.
      • withAdditionalProperties

        public TriggerRun withAdditionalProperties​(Map<String,​Object> additionalProperties)
        Set the additionalProperties property: Trigger runs.
        Parameters:
        additionalProperties - the additionalProperties value to set.
        Returns:
        the TriggerRun object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.