pub struct BpmnMigrationBlocker {
pub rule: Rule,
pub rule_number: i32,
pub message: String,
pub element_id: Option<String>,
pub flow_id: Option<String>,
pub message_name: Option<String>,
pub kind: Option<String>,
pub from: Option<String>,
pub to: Option<String>,
pub removed: Option<Vec<String>>,
pub added: Option<Vec<String>>,
}Expand description
BpmnMigrationBlocker : One reason a (from_version, to_version) pair is not eligible for an identity migration (#922). rule is the discriminant; rule_number groups it (1 superset – every v1 element id, sequence-flow id and message name exists in v2; 2 stable meaning – an id that survives must still denote the same kind, scope, process and message binding; 3 join stability – no element’s set of incoming sequence flows may change, because JoinState.expected is derived once and never refreshed, so a stale one wedges the instance with no error at all). The remaining properties are the rule’s own, and which are present depends on rule.
Fields§
§rule: Rule§rule_number: i32§message: Stringthe rendered sentence, safe to show an operator as-is
element_id: Option<String>§flow_id: Option<String>§message_name: Option<String>§kind: Option<String>§from: Option<String>§to: Option<String>§removed: Option<Vec<String>>§added: Option<Vec<String>>Implementations§
Source§impl BpmnMigrationBlocker
impl BpmnMigrationBlocker
Sourcepub fn new(
rule: Rule,
rule_number: i32,
message: String,
) -> BpmnMigrationBlocker
pub fn new( rule: Rule, rule_number: i32, message: String, ) -> BpmnMigrationBlocker
One reason a (from_version, to_version) pair is not eligible for an identity migration (#922). rule is the discriminant; rule_number groups it (1 superset – every v1 element id, sequence-flow id and message name exists in v2; 2 stable meaning – an id that survives must still denote the same kind, scope, process and message binding; 3 join stability – no element’s set of incoming sequence flows may change, because JoinState.expected is derived once and never refreshed, so a stale one wedges the instance with no error at all). The remaining properties are the rule’s own, and which are present depends on rule.
Trait Implementations§
Source§impl Clone for BpmnMigrationBlocker
impl Clone for BpmnMigrationBlocker
Source§fn clone(&self) -> BpmnMigrationBlocker
fn clone(&self) -> BpmnMigrationBlocker
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more