org.xnap.commons.pkg
Class AbstractDependencyNode
java.lang.Object
org.xnap.commons.pkg.AbstractDependencyNode
- All Implemented Interfaces:
- DependencyNode
- Direct Known Subclasses:
- AndDependencyNode, ConflictsDependencyNode, OrDependencyNode, PackageDependencyNode, UnsatisfiedDependencyNode
public abstract class AbstractDependencyNode
- extends Object
- implements DependencyNode
AbstractDependencyNode
public AbstractDependencyNode(Object id)
getID
public Object getID()
- Specified by:
getID
in interface DependencyNode
isRequired
public boolean isRequired()
- Specified by:
isRequired
in interface DependencyNode
require
public void require(boolean requireInstalled)
throws UnsatisfiedDependenciesException
- Description copied from interface:
DependencyNode
- Marks the node as required.
- Specified by:
require
in interface DependencyNode
- Throws:
UnsatisfiedDependenciesException
checkDepends
public abstract void checkDepends(boolean requireInstalled)
throws UnsatisfiedDependenciesException
- Throws:
UnsatisfiedDependenciesException
setRequired
public void setRequired(boolean required)
- Description copied from interface:
DependencyNode
- Marks the node as required. Does not check the dependencies.
- Specified by:
setRequired
in interface DependencyNode
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2004-2006 XNap Commons Team. All Rights Reserved.