org.apache.avalon.composition.data
Class ClasspathDirective

java.lang.Object
  extended byorg.apache.avalon.composition.data.ClasspathDirective
All Implemented Interfaces:
Serializable

public final class ClasspathDirective
extends Object
implements Serializable

Description of classpath.

Version:
$Revision: 1.2 $ $Date: 2003/10/28 12:53:48 $
Author:
Avalon Development Team
See Also:
Serialized Form

Constructor Summary
ClasspathDirective()
          Create a empty ClasspathDirective.
ClasspathDirective(FilesetDirective[] filesets, RepositoryDirective[] repositories)
          Create a ClasspathDirective instance.
 
Method Summary
 FilesetDirective[] getFilesets()
          Return the set of fileset directives.
 RepositoryDirective[] getRepositoryDirectives()
          Return the set of resource directives.
 boolean isEmpty()
          Return the default status of this directive.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClasspathDirective

public ClasspathDirective()
Create a empty ClasspathDirective.


ClasspathDirective

public ClasspathDirective(FilesetDirective[] filesets,
                          RepositoryDirective[] repositories)
Create a ClasspathDirective instance.

Parameters:
filesets - the filesets to be included in a classloader
repositories - the repositories directives to be included in a classloader
Method Detail

isEmpty

public boolean isEmpty()
Return the default status of this directive. If TRUE the enclosed repository and fileset directives are empty.


getRepositoryDirectives

public RepositoryDirective[] getRepositoryDirectives()
Return the set of resource directives.

Returns:
the resource directive set

getFilesets

public FilesetDirective[] getFilesets()
Return the set of fileset directives.

Returns:
the fileset directives


Copyright © Apache Software Foundation. All Rights Reserved.