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.

See Also:
WarnTask

Constructor Summary
WarnCondition(String name, String description)
          Uses the description as the warning message.
WarnCondition(String name, String description, 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(String name,
                     String description,
                     String message)

WarnCondition

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

Method Detail

check

public boolean check(InstallContext installContext)


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