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
IllegalArgumentException
public ComponentsMonitor useComponent(String component)
useComponent
in interface ComponentsMonitor
public boolean allComponentsUsed()
allComponentsUsed
in interface ComponentsMonitor
public boolean finalStateValid()
finalStateValid
in interface ComponentsMonitor
public List getRemainingComponents()
getRemainingComponents
in interface ComponentsMonitor
Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.