info.magnolia.module.delta
Class AbstractCondition

java.lang.Object
  extended by info.magnolia.module.delta.AbstractCondition
All Implemented Interfaces:
Condition
Direct Known Subclasses:
FalseCondition, IsNotAProblematicEnvironmentCondition, NoSameNameSiblingsCondition, SystemTmpDirCondition, TrueCondition, WarnCondition

public abstract class AbstractCondition
extends Object
implements Condition

Base for Conditions, providing name and description.


Constructor Summary
AbstractCondition(String name, String description)
           
 
Method Summary
 String getDescription()
          Description what will be checked, and how the user can fix it if it's not set properly.
 String getName()
          Description of what has changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface info.magnolia.module.delta.Condition
check
 

Constructor Detail

AbstractCondition

public AbstractCondition(String name,
                         String description)
Method Detail

getName

public String getName()
Description copied from interface: Condition
Description of what has changed.

Specified by:
getName in interface Condition

getDescription

public String getDescription()
Description copied from interface: Condition
Description what will be checked, and how the user can fix it if it's not set properly.

Specified by:
getDescription in interface Condition


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