info.magnolia.module.delta
Class WarnCondition

java.lang.Object
  extended by info.magnolia.module.delta.AbstractCondition
      extended by info.magnolia.module.delta.WarnCondition
All Implemented Interfaces:
Condition

public class WarnCondition
extends AbstractCondition

Similar to the WarnTask, WarnCondition will always pass (return true) but will log a warning message in the InstallContext.

Version:
$Revision: $ ($Author: $)
Author:
gjoseph
See Also:
WarnTask

Constructor Summary
WarnCondition(java.lang.String name, java.lang.String description)
          Uses the description as the warning message.
WarnCondition(java.lang.String name, java.lang.String description, java.lang.String message)
           
 
Method Summary
 boolean check(InstallContext installContext)
           
 
Methods inherited from class info.magnolia.module.delta.AbstractCondition
getDescription, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WarnCondition

public WarnCondition(java.lang.String name,
                     java.lang.String description,
                     java.lang.String message)

WarnCondition

public WarnCondition(java.lang.String name,
                     java.lang.String description)
Uses the description as the warning message.

Method Detail

check

public boolean check(InstallContext installContext)


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