private static CheckpointAlgorithm cloneCheckpointAlorithm(CheckpointAlgorithm checkpointAlgorithm){ if (checkpointAlgorithm == null) { return null; } CheckpointAlgorithm newCheckpointAlgorithm = jslFactory.createCheckpointAlgorithm(); newCheckpointAlgorithm.setRef(checkpointAlgorithm.getRef()); newCheckpointAlgorithm.setProperties(cloneJSLProperties(checkpointAlgorithm.getProperties())); return newCheckpointAlgorithm; }
private static CheckpointAlgorithm cloneCheckpointAlorithm(CheckpointAlgorithm checkpointAlgorithm){ if (checkpointAlgorithm == null) { return null; } CheckpointAlgorithm newCheckpointAlgorithm = jslFactory.createCheckpointAlgorithm(); newCheckpointAlgorithm.setRef(checkpointAlgorithm.getRef()); newCheckpointAlgorithm.setProperties(cloneJSLProperties(checkpointAlgorithm.getProperties())); return newCheckpointAlgorithm; }
private static CheckpointAlgorithm cloneCheckpointAlorithm(CheckpointAlgorithm checkpointAlgorithm){ if (checkpointAlgorithm == null) { return null; } CheckpointAlgorithm newCheckpointAlgorithm = jslFactory.createCheckpointAlgorithm(); newCheckpointAlgorithm.setRef(checkpointAlgorithm.getRef()); newCheckpointAlgorithm.setProperties(cloneJSLProperties(checkpointAlgorithm.getProperties())); return newCheckpointAlgorithm; }
@Override public CheckpointAlgorithm substituteProperties(final CheckpointAlgorithm checkpointalgorithm, final Properties submittedProps, final Properties parentProps) { //resolve all the properties used in attributes and update the JAXB model checkpointalgorithm.setRef(this.replaceAllProperties(checkpointalgorithm.getRef(), submittedProps, parentProps)); // Resolve all the properties defined for this checkpoint algorithm if (checkpointalgorithm.getProperties() != null) { this.resolveElementProperties(checkpointalgorithm.getProperties().getPropertyList(), submittedProps, parentProps); } return checkpointalgorithm; }
@Override public CheckpointAlgorithm substituteProperties(final CheckpointAlgorithm checkpointalgorithm, final Properties submittedProps, final Properties parentProps) { //resolve all the properties used in attributes and update the JAXB model checkpointalgorithm.setRef(this.replaceAllProperties(checkpointalgorithm.getRef(), submittedProps, parentProps)); // Resolve all the properties defined for this checkpoint algorithm if (checkpointalgorithm.getProperties() != null) { this.resolveElementProperties(checkpointalgorithm.getProperties().getPropertyList(), submittedProps, parentProps); } return checkpointalgorithm; }
@Override public CheckpointAlgorithm substituteProperties(final CheckpointAlgorithm checkpointalgorithm, final Properties submittedProps, final Properties parentProps) { //resolve all the properties used in attributes and update the JAXB model checkpointalgorithm.setRef(this.replaceAllProperties(checkpointalgorithm.getRef(), submittedProps, parentProps)); // Resolve all the properties defined for this checkpoint algorithm if (checkpointalgorithm.getProperties() != null) { this.resolveElementProperties(checkpointalgorithm.getProperties().getPropertyList(), submittedProps, parentProps); } return checkpointalgorithm; }