net.dpml.tools.info
Class BuilderDirective

java.lang.Object
  extended by net.dpml.library.info.AbstractDirective
      extended by net.dpml.tools.info.BuilderDirective
All Implemented Interfaces:
Serializable

public final class BuilderDirective
extends AbstractDirective

The BuilderDirective class describes the configuration of the build system.

Version:
1.1.3
Author:
Digital Product Meta Library
See Also:
Serialized Form

Constructor Summary
BuilderDirective(ListenerDirective[] listeners, String phase, Properties properties)
          Creation of a new library directive.
 
Method Summary
 boolean equals(Object other)
          Compare this object with another for equality.
 String getDefaultPhase()
          Return the default phase.
 ListenerDirective[] getListenerDirectives()
          Return the set of listener directives.
 int hashCode()
          Compute the hash code value.
 
Methods inherited from class net.dpml.library.info.AbstractDirective
equals, getProperties, getProperty, hashArray, hashValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuilderDirective

public BuilderDirective(ListenerDirective[] listeners,
                        String phase,
                        Properties properties)
                 throws UnknownKeyException
Creation of a new library directive.

Parameters:
listeners - an array of listener directives
phase - the default target phase
properties - supplimentary properties
Throws:
UnknownKeyException - if a unknown key is referenced
Method Detail

getListenerDirectives

public ListenerDirective[] getListenerDirectives()
Return the set of listener directives.

Returns:
the listener directive array

getDefaultPhase

public String getDefaultPhase()
Return the default phase.

Returns:
the default phase name.

equals

public boolean equals(Object other)
Compare this object with another for equality.

Overrides:
equals in class AbstractDirective
Parameters:
other - the other object
Returns:
true if equal

hashCode

public int hashCode()
Compute the hash code value.

Overrides:
hashCode in class AbstractDirective
Returns:
the hash value