public class MandatoryAndOptionalComponentsMonitor extends Object implements ComponentsMonitor
| Constructor and Description |
|---|
MandatoryAndOptionalComponentsMonitor(String[] mandatoryComponents,
String[] optionalComponents) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allComponentsUsed() |
boolean |
finalStateValid() |
List |
getRemainingComponents() |
ComponentsMonitor |
useComponent(String component) |
public MandatoryAndOptionalComponentsMonitor(String[] mandatoryComponents, String[] optionalComponents) throws IllegalArgumentException
IllegalArgumentExceptionpublic ComponentsMonitor useComponent(String component)
useComponent in interface ComponentsMonitorpublic boolean allComponentsUsed()
allComponentsUsed in interface ComponentsMonitorpublic boolean finalStateValid()
finalStateValid in interface ComponentsMonitorpublic List getRemainingComponents()
getRemainingComponents in interface ComponentsMonitorCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.