public abstract class AbstractSimpleComponentsMonitor extends Object implements ComponentsMonitor
Constructor and Description |
---|
AbstractSimpleComponentsMonitor(String[] components)
Instantiates a new abstract simple components monitor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
allComponentsUsed()
Check if all components are used.
|
List<String> |
getRemainingComponents()
Gets the remaining components.
|
ComponentsMonitor |
useComponent(String component)
Use a component.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
finalStateValid
public AbstractSimpleComponentsMonitor(String[] components)
components
- the componentspublic ComponentsMonitor useComponent(String component)
useComponent
in interface ComponentsMonitor
component
- the componentpublic boolean allComponentsUsed()
allComponentsUsed
in interface ComponentsMonitor
public List<String> getRemainingComponents()
getRemainingComponents
in interface ComponentsMonitor
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.