org.xnap.commons.pkg
Class OrDependencyNode

java.lang.Object
  extended by org.xnap.commons.pkg.AbstractDependencyNode
      extended by org.xnap.commons.pkg.OrDependencyNode
All Implemented Interfaces:
DependencyNode

public class OrDependencyNode
extends AbstractDependencyNode


Constructor Summary
OrDependencyNode(String token)
           
OrDependencyNode(String token, LinkedList depends)
           
 
Method Summary
 void add(DependencyNode node)
           
 void checkDepends(boolean requireInstalled)
           
 Iterator children()
           
 String toString()
           
 
Methods inherited from class org.xnap.commons.pkg.AbstractDependencyNode
getID, isRequired, require, setRequired
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OrDependencyNode

OrDependencyNode(String token,
                 LinkedList depends)

OrDependencyNode

public OrDependencyNode(String token)
Method Detail

add

public void add(DependencyNode node)

children

public Iterator children()

checkDepends

public void checkDepends(boolean requireInstalled)
                  throws UnsatisfiedDependenciesException
Specified by:
checkDepends in class AbstractDependencyNode
Throws:
UnsatisfiedDependenciesException

toString

public String toString()
Overrides:
toString in class AbstractDependencyNode


Copyright © 2004-2006 XNap Commons Team. All Rights Reserved.