info.magnolia.module.delta
Class ValueOfPropertyDelegateTask
java.lang.Object
info.magnolia.module.delta.AbstractTask
info.magnolia.module.delta.ConditionalDelegateTask
info.magnolia.module.delta.CheckNodeDelegateTask
info.magnolia.module.delta.ValueOfPropertyDelegateTask
- All Implemented Interfaces:
- Task
public class ValueOfPropertyDelegateTask
- extends CheckNodeDelegateTask
A task which delegates to another if a property has a given value.
Constructor Summary |
ValueOfPropertyDelegateTask(String taskName,
String parentPath,
String propertyName,
String expectedValue,
boolean propertyMustExist,
Task ifTrue)
|
ValueOfPropertyDelegateTask(String taskName,
String parentPath,
String propertyName,
String expectedValue,
boolean propertyMustExist,
Task ifTrue,
Task ifFalse)
|
ValueOfPropertyDelegateTask(String taskName,
String taskDescription,
String workspaceName,
String nodePath,
String propertyName,
String expectedValue,
boolean propertyMustExist,
Task ifTrue)
|
ValueOfPropertyDelegateTask(String taskName,
String taskDescription,
String workspaceName,
String nodePath,
String propertyName,
String expectedValue,
boolean propertyMustExist,
Task ifTrue,
Task ifFalse)
|
ValueOfPropertyDelegateTask
public ValueOfPropertyDelegateTask(String taskName,
String parentPath,
String propertyName,
String expectedValue,
boolean propertyMustExist,
Task ifTrue)
ValueOfPropertyDelegateTask
public ValueOfPropertyDelegateTask(String taskName,
String parentPath,
String propertyName,
String expectedValue,
boolean propertyMustExist,
Task ifTrue,
Task ifFalse)
ValueOfPropertyDelegateTask
public ValueOfPropertyDelegateTask(String taskName,
String taskDescription,
String workspaceName,
String nodePath,
String propertyName,
String expectedValue,
boolean propertyMustExist,
Task ifTrue)
ValueOfPropertyDelegateTask
public ValueOfPropertyDelegateTask(String taskName,
String taskDescription,
String workspaceName,
String nodePath,
String propertyName,
String expectedValue,
boolean propertyMustExist,
Task ifTrue,
Task ifFalse)
checkNode
protected boolean checkNode(javax.jcr.Node node,
InstallContext ctx)
throws TaskExecutionException,
javax.jcr.RepositoryException
- Specified by:
checkNode
in class CheckNodeDelegateTask
- Throws:
TaskExecutionException
javax.jcr.RepositoryException
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.