info.magnolia.module.delta
Class IsInstallSamplesTask

java.lang.Object
  extended by info.magnolia.module.delta.AbstractTask
      extended by info.magnolia.module.delta.ConditionalDelegateTask
          extended by info.magnolia.module.delta.IsInstallSamplesTask
All Implemented Interfaces:
Task
Direct Known Subclasses:
SamplesBootstrapTask

public class IsInstallSamplesTask
extends ConditionalDelegateTask

A Task which delegates depending on the magnolia.bootstrap.samples property.

Version:
$Id: IsInstallSamplesTask.java 41137 2011-01-06 18:19:25Z gjoseph $
Author:
philipp
See Also:
SystemProperty.MAGNOLIA_BOOTSTRAP_SAMPLES

Field Summary
 
Fields inherited from class info.magnolia.module.delta.AbstractTask
log
 
Constructor Summary
IsInstallSamplesTask(java.lang.String taskName, java.lang.String taskDescription, Task ifTrue)
           
IsInstallSamplesTask(java.lang.String taskName, java.lang.String taskDescription, Task ifTrue, Task ifFalse)
           
 
Method Summary
protected  boolean condition(InstallContext installContext)
           
 
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

IsInstallSamplesTask

public IsInstallSamplesTask(java.lang.String taskName,
                            java.lang.String taskDescription,
                            Task ifTrue,
                            Task ifFalse)

IsInstallSamplesTask

public IsInstallSamplesTask(java.lang.String taskName,
                            java.lang.String taskDescription,
                            Task ifTrue)
Method Detail

condition

protected boolean condition(InstallContext installContext)
                     throws TaskExecutionException
Specified by:
condition in class ConditionalDelegateTask
Throws:
TaskExecutionException


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