org.codehaus.gmaven.examples.install
Class InstallMojoSupport
java.lang.Object
groovy.lang.GroovyObjectSupport
org.codehaus.gmaven.mojo.GroovyMojo
org.codehaus.gmaven.examples.install.InstallMojoSupport
- All Implemented Interfaces:
- groovy.lang.GroovyObject, org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- InstallMojo
public abstract class InstallMojoSupport
- extends GroovyMojo
- implements groovy.lang.GroovyObject
Support for installation mojos.
- Version:
- $Id: InstallMojoSupport.groovy 10 2009-07-16 09:23:15Z user57 $
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.maven.plugin.Mojo |
execute |
InstallMojoSupport
public InstallMojoSupport()
getCreateChecksum
public boolean getCreateChecksum()
isCreateChecksum
public boolean isCreateChecksum()
setCreateChecksum
public void setCreateChecksum(boolean value)
getInstaller
public org.apache.maven.artifact.installer.ArtifactInstaller getInstaller()
setInstaller
public void setInstaller(org.apache.maven.artifact.installer.ArtifactInstaller value)
getLocalRepository
public org.apache.maven.artifact.repository.ArtifactRepository getLocalRepository()
setLocalRepository
public void setLocalRepository(org.apache.maven.artifact.repository.ArtifactRepository value)
getMd5Digester
public org.codehaus.plexus.digest.Digester getMd5Digester()
setMd5Digester
public void setMd5Digester(org.codehaus.plexus.digest.Digester value)
getSha1Digester
public org.codehaus.plexus.digest.Digester getSha1Digester()
setSha1Digester
public void setSha1Digester(org.codehaus.plexus.digest.Digester value)
installCheckSum
protected void installCheckSum(File file,
boolean isPom)
installCheckSum
protected void installCheckSum(File file,
org.apache.maven.artifact.Artifact artifact,
boolean isPom)
getChecksum
protected String getChecksum(File file,
String algo)
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass
in interface groovy.lang.GroovyObject
- Overrides:
getMetaClass
in class groovy.lang.GroovyObjectSupport
setMetaClass
public void setMetaClass(groovy.lang.MetaClass metaClass)
- Specified by:
setMetaClass
in interface groovy.lang.GroovyObject
- Overrides:
setMetaClass
in class groovy.lang.GroovyObjectSupport
invokeMethod
public Object invokeMethod(String name,
Object args)
- Specified by:
invokeMethod
in interface groovy.lang.GroovyObject
- Overrides:
invokeMethod
in class groovy.lang.GroovyObjectSupport
getProperty
public Object getProperty(String name)
- Specified by:
getProperty
in interface groovy.lang.GroovyObject
- Overrides:
getProperty
in class GroovyMojo
setProperty
public void setProperty(String name,
Object value)
- Specified by:
setProperty
in interface groovy.lang.GroovyObject
- Overrides:
setProperty
in class groovy.lang.GroovyObjectSupport
Copyright © 2006-2012 Codehaus. All Rights Reserved.