Logo Search packages:      
Sourcecode: gant version File versions

org::codehaus::gant::GantMetaClass Class Reference

Inherits groovy::lang::DelegatingMetaClass.

List of all members.


Detailed Description

This class is the metaclass used for target Closures, any enclosed Closures, and the Gant script itself.

This metaclass deals with depends method calls and redirects unknown method calls to the instance of GantBuilder. To process the depends all closures from the binding called during execution of the Gant specification must be logged so that when a depends happens the full closure call history is available.

Author:
Russel Winder <russel.winder@concertant.com>

Definition at line 42 of file GantMetaClass.java.


Public Member Functions

 GantMetaClass (final MetaClass metaClass, final GantBinding binding)
Object invokeMethod (final Class sender, final Object receiver, final String methodName, final Object[] arguments, final boolean isCallToSuper, final boolean fromInsideClass)
Object invokeMethod (final String name, final Object args)
Object invokeMethod (final Object object, final String methodName, final Object arguments)
Object invokeMethod (final Object object, final String methodName, final Object[] arguments)

Private Member Functions

Object processArgument (final Object argument)
Object processClosure (final Closure closure)

Private Attributes

final GantBinding binding

Static Private Attributes

static final HashSet< Closure > methodsInvoked = new HashSet<Closure> ( )

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index