org.xnap.pkg
Interface DependencyNode

All Known Implementing Classes:
AbstractDependencyNode, AndDependencyNode, ConflictsDependencyNode, OrDependencyNode, PackageDependencyNode, UnsatisfiedDependencyNode

public interface DependencyNode


Method Summary
 java.util.Iterator children()
           
 java.lang.Object getID()
           
 boolean isRequired()
           
 void require(boolean requireInstalled)
          Marks the node as required.
 void setRequired(boolean required)
          Marks the node as required.
 

Method Detail

children

java.util.Iterator children()

getID

java.lang.Object getID()

isRequired

boolean isRequired()

require

void require(boolean requireInstalled)
             throws UnsatisfiedDependenciesException
Marks the node as required.

Throws:
UnsatisfiedDependenciesException

setRequired

void setRequired(boolean required)
Marks the node as required. Does not check the dependencies.



Copyright © 2001-2005 XNap Team. All Rights Reserved.