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(java.lang.String name, java.lang.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(java.lang.String name,
                     java.lang.String description)
Method Detail

check

public boolean check(InstallContext installContext)


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