public Decision substituteProperties(final Decision decision, final Properties submittedProps, final Properties parentProps) { // resolve all the properties used in attributes and update the JAXB // model decision.setId(this.replaceAllProperties(decision.getId(), submittedProps, parentProps)); decision.setRef(this.replaceAllProperties(decision.getRef(), submittedProps, parentProps)); // Resolve all the properties defined for this decision Properties currentProps = parentProps; if (decision.getProperties() != null) { currentProps = this.resolveElementProperties(decision.getProperties().getPropertyList(), submittedProps, parentProps); } if (decision.getTransitionElements() != null) { for (final TransitionElement transitionElement : decision.getTransitionElements()) { PropertyResolverFactory.createTransitionElementPropertyResolver(this.isPartitionedStep).substituteProperties(transitionElement, submittedProps, currentProps); } } return decision; }
public Decision substituteProperties(final Decision decision, final Properties submittedProps, final Properties parentProps) { // resolve all the properties used in attributes and update the JAXB // model decision.setId(this.replaceAllProperties(decision.getId(), submittedProps, parentProps)); decision.setRef(this.replaceAllProperties(decision.getRef(), submittedProps, parentProps)); // Resolve all the properties defined for this decision Properties currentProps = parentProps; if (decision.getProperties() != null) { currentProps = this.resolveElementProperties(decision.getProperties().getPropertyList(), submittedProps, parentProps); } if (decision.getTransitionElements() != null) { for (final TransitionElement transitionElement : decision.getTransitionElements()) { PropertyResolverFactory.createTransitionElementPropertyResolver(this.isPartitionedStep).substituteProperties(transitionElement, submittedProps, currentProps); } } return decision; }
public Decision substituteProperties(final Decision decision, final Properties submittedProps, final Properties parentProps) { // resolve all the properties used in attributes and update the JAXB // model decision.setId(this.replaceAllProperties(decision.getId(), submittedProps, parentProps)); decision.setRef(this.replaceAllProperties(decision.getRef(), submittedProps, parentProps)); // Resolve all the properties defined for this decision Properties currentProps = parentProps; if (decision.getProperties() != null) { currentProps = this.resolveElementProperties(decision.getProperties().getPropertyList(), submittedProps, parentProps); } if (decision.getTransitionElements() != null) { for (final TransitionElement transitionElement : decision.getTransitionElements()) { PropertyResolverFactory.createTransitionElementPropertyResolver(this.isPartitionedStep).substituteProperties(transitionElement, submittedProps, currentProps); } } return decision; }