org.codehaus.plexus.component.factory.ant
Class AntScriptInvoker
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
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
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 |
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
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
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.