target_yaml.hcm-content.configuration.update.updater3.yaml Maven / Gradle / Ivy
The newest version!
/hippo:configuration/hippo:update/hippo:queue/Test Updater 3:
jcr:primaryType: hipposys:updaterinfo
hipposys:batchsize: 10
hipposys:dryrun: false
hipposys:script: |-
import org.onehippo.repository.update.BaseNodeUpdateVisitor
import javax.jcr.Node
class TestUpdater3 extends BaseNodeUpdateVisitor {
boolean doUpdate(Node node) {
log.info "manipulate node < > & an %^&* /> {}", node.path
return true
}
boolean undoUpdate(Node node) {
throw new UnsupportedOperationException('Updater does not implement undoUpdate method')
}
}
hipposys:throttle: 1000
© 2015 - 2025 Weber Informatics LLC | Privacy Policy