info.magnolia.module.delta
Class TrueCondition

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

public class TrueCondition
extends AbstractCondition

A Condition which always return true. Just a convenient implementation when we already know at instanciation time that the condition won't be met.

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

Constructor Summary
TrueCondition(String name, String description)
           
 
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

TrueCondition

public TrueCondition(String name,
                     String description)
Method Detail

check

public boolean check(InstallContext installContext)


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.