org.apache.directory.shared.ldap.util
Class AbstractSimpleComponentsMonitor

java.lang.Object
  extended by org.apache.directory.shared.ldap.util.AbstractSimpleComponentsMonitor
All Implemented Interfaces:
ComponentsMonitor
Direct Known Subclasses:
MandatoryComponentsMonitor, OptionalComponentsMonitor

public abstract class AbstractSimpleComponentsMonitor
extends Object
implements ComponentsMonitor


Constructor Summary
AbstractSimpleComponentsMonitor(String[] components)
           
 
Method Summary
 boolean allComponentsUsed()
           
abstract  boolean finalStateValid()
           
 List<String> getRemainingComponents()
           
 ComponentsMonitor useComponent(String component)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSimpleComponentsMonitor

public AbstractSimpleComponentsMonitor(String[] components)
Method Detail

useComponent

public ComponentsMonitor useComponent(String component)
                               throws IllegalArgumentException
Specified by:
useComponent in interface ComponentsMonitor
Throws:
IllegalArgumentException

allComponentsUsed

public boolean allComponentsUsed()
Specified by:
allComponentsUsed in interface ComponentsMonitor

getRemainingComponents

public List<String> getRemainingComponents()
Specified by:
getRemainingComponents in interface ComponentsMonitor

finalStateValid

public abstract boolean finalStateValid()
Specified by:
finalStateValid in interface ComponentsMonitor


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.