|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.util.AbstractSimpleComponentsMonitor
public abstract class AbstractSimpleComponentsMonitor
Abstract implementation of a components monitor.
| Constructor Summary | |
|---|---|
AbstractSimpleComponentsMonitor(String[] components)
Instantiates a new abstract simple components monitor. |
|
| Method Summary | |
|---|---|
boolean |
allComponentsUsed()
Check if all components are used. |
List<String> |
getRemainingComponents()
Gets the remaining components. |
ComponentsMonitor |
useComponent(String component)
Use a component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.directory.shared.util.ComponentsMonitor |
|---|
finalStateValid |
| Constructor Detail |
|---|
public AbstractSimpleComponentsMonitor(String[] components)
components - the components| Method Detail |
|---|
public ComponentsMonitor useComponent(String component)
throws IllegalArgumentException
useComponent in interface ComponentsMonitorcomponent - the component
IllegalArgumentException - if the component is already usedpublic boolean allComponentsUsed()
allComponentsUsed in interface ComponentsMonitorpublic List<String> getRemainingComponents()
getRemainingComponents in interface ComponentsMonitor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||