info.magnolia.module.delta
Class IsAuthorInstanceDelegateTask

java.lang.Object
  extended by info.magnolia.module.delta.AbstractTask
      extended by info.magnolia.module.delta.ConditionalDelegateTask
          extended by info.magnolia.module.delta.NodeCheckDelegateTask
              extended by info.magnolia.module.delta.PropertyValueDelegateTask
                  extended by info.magnolia.module.delta.IsAuthorInstanceDelegateTask
All Implemented Interfaces:
Task

public class IsAuthorInstanceDelegateTask
extends PropertyValueDelegateTask

A task that depends on the value of the /server/admin config value. Delegates to one of the given tasks depending on its value, and fails is that property does not exist.


Field Summary
 
Fields inherited from class info.magnolia.module.delta.NodeCheckDelegateTask
nodePath, propertyName, workspaceName
 
Fields inherited from class info.magnolia.module.delta.AbstractTask
DO_NOTHING, log
 
Constructor Summary
IsAuthorInstanceDelegateTask(String taskName, String taskDescription, Task isAuthor)
           
IsAuthorInstanceDelegateTask(String taskName, String taskDescription, Task isAuthor, Task isPublic)
           
IsAuthorInstanceDelegateTask(String taskName, Task isAuthor)
           
IsAuthorInstanceDelegateTask(String taskName, Task isAuthor, Task isPublic)
           
 
Method Summary
 
Methods inherited from class info.magnolia.module.delta.PropertyValueDelegateTask
checkNode
 
Methods inherited from class info.magnolia.module.delta.NodeCheckDelegateTask
condition
 
Methods inherited from class info.magnolia.module.delta.ConditionalDelegateTask
execute
 
Methods inherited from class info.magnolia.module.delta.AbstractTask
getDescription, getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IsAuthorInstanceDelegateTask

public IsAuthorInstanceDelegateTask(String taskName,
                                    Task isAuthor)

IsAuthorInstanceDelegateTask

public IsAuthorInstanceDelegateTask(String taskName,
                                    Task isAuthor,
                                    Task isPublic)

IsAuthorInstanceDelegateTask

public IsAuthorInstanceDelegateTask(String taskName,
                                    String taskDescription,
                                    Task isAuthor)

IsAuthorInstanceDelegateTask

public IsAuthorInstanceDelegateTask(String taskName,
                                    String taskDescription,
                                    Task isAuthor,
                                    Task isPublic)


Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.