DependencyReasonEnum

August 7, 2026 ยท View on GitHub

Reason for the dependency

Example Usage

import co.novu.models.components.DependencyReasonEnum;

DependencyReasonEnum value = DependencyReasonEnum.LAYOUT_REQUIRED_FOR_WORKFLOW;

// Open enum: use .of() to create instances from custom string values
DependencyReasonEnum custom = DependencyReasonEnum.of("custom_value");

Values

NameValue
LAYOUT_REQUIRED_FOR_WORKFLOWLAYOUT_REQUIRED_FOR_WORKFLOW
LAYOUT_EXISTS_IN_TARGETLAYOUT_EXISTS_IN_TARGET
AGENT_REQUIRED_FOR_WORKFLOWAGENT_REQUIRED_FOR_WORKFLOW
AGENT_EXISTS_IN_TARGETAGENT_EXISTS_IN_TARGET