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$
Author:
philipp
See Also:
SystemProperty.MAGNOLIA_BOOTSTRAP_SAMPLES

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

IsInstallSamplesTask

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

condition

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


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