org.codehaus.plexus.component.factory.ant
Class AntScriptInvoker

java.lang.Object
  extended by org.codehaus.plexus.logging.AbstractLogEnabled
      extended by org.codehaus.plexus.component.factory.ant.AntScriptInvoker
All Implemented Interfaces:
org.codehaus.plexus.component.MapOrientedComponent, org.codehaus.plexus.logging.LogEnabled

public class AntScriptInvoker
extends org.codehaus.plexus.logging.AbstractLogEnabled
implements org.codehaus.plexus.component.MapOrientedComponent


Field Summary
static String BASEDIR_PARAMETER
           
static String MESSAGE_LEVEL_PARAMETER
           
 
Constructor Summary
AntScriptInvoker(org.codehaus.plexus.component.repository.ComponentDescriptor descriptor, ClassLoader loader)
           
 
Method Summary
 void addComponentRequirement(org.codehaus.plexus.component.repository.ComponentRequirement rd, Object rv)
           
protected  int convertMsgLevel(String msgLevel)
           
 File getBasedir()
           
 org.codehaus.plexus.component.repository.ComponentDescriptor getDescriptor()
           
static String[] getImplicitOptionalParameters()
           
static String[] getImplicitRequiredParameters()
           
 String getMessageLevel()
           
 org.apache.tools.ant.Project getProject()
           
 Properties getProperties()
           
 Map getReferences()
           
 File getScript()
           
 String getScriptResource()
           
 String getTarget()
           
 void invoke()
           
 void setComponentConfiguration(Map componentConfiguration)
           
 
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BASEDIR_PARAMETER

public static final String BASEDIR_PARAMETER
See Also:
Constant Field Values

MESSAGE_LEVEL_PARAMETER

public static final String MESSAGE_LEVEL_PARAMETER
See Also:
Constant Field Values
Constructor Detail

AntScriptInvoker

public AntScriptInvoker(org.codehaus.plexus.component.repository.ComponentDescriptor descriptor,
                        ClassLoader loader)
                 throws IOException,
                        org.codehaus.plexus.component.factory.ComponentInstantiationException
Throws:
IOException
org.codehaus.plexus.component.factory.ComponentInstantiationException
Method Detail

getImplicitRequiredParameters

public static String[] getImplicitRequiredParameters()

getImplicitOptionalParameters

public static String[] getImplicitOptionalParameters()

addComponentRequirement

public void addComponentRequirement(org.codehaus.plexus.component.repository.ComponentRequirement rd,
                                    Object rv)
                             throws org.codehaus.plexus.component.configurator.ComponentConfigurationException
Specified by:
addComponentRequirement in interface org.codehaus.plexus.component.MapOrientedComponent
Throws:
org.codehaus.plexus.component.configurator.ComponentConfigurationException

setComponentConfiguration

public void setComponentConfiguration(Map componentConfiguration)
                               throws org.codehaus.plexus.component.configurator.ComponentConfigurationException
Specified by:
setComponentConfiguration in interface org.codehaus.plexus.component.MapOrientedComponent
Throws:
org.codehaus.plexus.component.configurator.ComponentConfigurationException

invoke

public void invoke()
            throws AntComponentExecutionException
Throws:
AntComponentExecutionException

convertMsgLevel

protected int convertMsgLevel(String msgLevel)

getProject

public org.apache.tools.ant.Project getProject()

getDescriptor

public org.codehaus.plexus.component.repository.ComponentDescriptor getDescriptor()

getScript

public File getScript()

getScriptResource

public String getScriptResource()

getTarget

public String getTarget()

getReferences

public Map getReferences()

getProperties

public Properties getProperties()

getBasedir

public File getBasedir()

getMessageLevel

public String getMessageLevel()


Copyright © 2001-2013 Codehaus. All Rights Reserved.