execOrder = Integer.parseInt(KongaXmlUtils.getChildElementValue(
posElement, XmlConstants.EXECUTION_ORDER));
} catch (Exception ex) {
// Keep the default value.
}
RelativePosition relative = RelativePosition.fromString(KongaXmlUtils.getChildElementValue(
posElement, XmlConstants.RELATIVE_POSITION));
boolean optional = Boolean.parseBoolean(KongaXmlUtils.getChildElementValue(
posElement, XmlConstants.OPTIONAL));
if ((subject != null) && (relative != null)) {
return new PipelinePosition(pluginId, subject, relative, execOrder, optional);