All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target_yaml.hcm-content.configuration.update.sub.updater3.yaml Maven / Gradle / Ivy

The newest version!
/hippo:configuration/hippo:update/hippo:queue/Test Sub Updater 3:
  jcr:primaryType: hipposys:updaterinfo
  hipposys:batchsize: 10
  hipposys:dryrun: false
  hipposys:query: //element(*, hippo:document)
  hipposys:script: |-
    import org.onehippo.repository.update.BaseNodeUpdateVisitor

    import javax.jcr.Node

    class TestSubUpdater3 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