org.apache.felix.dependencymanager
Class State
java.lang.Object
org.apache.felix.dependencymanager.State
public final class State
- extends Object
Encapsulates the current state of the dependencies of a service. A state is
basically an immutable value object.
- Author:
- Felix Project Team
Constructor Summary |
State(List deps,
boolean isActive)
Creates a new state instance. |
State
public State(List deps,
boolean isActive)
- Creates a new state instance.
- Parameters:
deps
- the dependencies that determine the stateisActive
- true
if the service is active (started)
isInactive
public boolean isInactive()
isWaitingForRequired
public boolean isWaitingForRequired()
isTrackingOptional
public boolean isTrackingOptional()
getDependencies
public List getDependencies()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.