org.codehaus.mojo.axistools.axis
Class AbstractAxisPlugin

java.lang.Object
  extended by org.codehaus.mojo.axistools.axis.AbstractAxisPlugin
Direct Known Subclasses:
DefaultAdminPlugin, DefaultJava2WSDLPlugin, DefaultWSDL2JavaPlugin

public abstract class AbstractAxisPlugin
extends Object

Convience baseclass for shared parameters, getters and setters, and methods for the Axis Plugins


Field Summary
protected  org.apache.maven.artifact.factory.ArtifactFactory artifactFactory
           
protected  org.apache.maven.artifact.repository.ArtifactRepository localRepository
           
protected  org.apache.maven.plugin.logging.Log log
           
protected  File outputDirectory
           
protected  List pluginArtifacts
           
protected  org.apache.maven.project.MavenProject project
           
protected  File sourceDirectory
           
protected  int staleMillis
           
protected  File timestampDirectory
           
 
Constructor Summary
AbstractAxisPlugin()
           
 
Method Summary
protected  String createSafeFileName(String aName)
          Replaces all characters in the given name except for the '.'. and alphanumeric characters to make it a safe valid file name.
protected  org.apache.maven.plugin.logging.Log getLog()
           
protected  String listToCommaDelimitedString(List list)
          Converts a list to a comma delimited string.
 void setArtifactFactory(org.apache.maven.artifact.factory.ArtifactFactory artifactFactory)
           
 void setLocalRepository(org.apache.maven.artifact.repository.ArtifactRepository localRepository)
           
 void setLog(org.apache.maven.plugin.logging.Log log)
           
 void setOutputDirectory(File outputDirectory)
           
 void setPluginArtifacts(List pluginArtifacts)
           
 void setProject(org.apache.maven.project.MavenProject project)
           
 void setSourceDirectory(File sourceDirectory)
           
 void setStaleMillis(int staleMillis)
           
 void setTimestampDirectory(File timestampDirectory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sourceDirectory

protected File sourceDirectory

outputDirectory

protected File outputDirectory

timestampDirectory

protected File timestampDirectory

staleMillis

protected int staleMillis

project

protected org.apache.maven.project.MavenProject project

localRepository

protected org.apache.maven.artifact.repository.ArtifactRepository localRepository

artifactFactory

protected org.apache.maven.artifact.factory.ArtifactFactory artifactFactory

pluginArtifacts

protected List pluginArtifacts

log

protected org.apache.maven.plugin.logging.Log log
Constructor Detail

AbstractAxisPlugin

public AbstractAxisPlugin()
Method Detail

createSafeFileName

protected String createSafeFileName(String aName)
Replaces all characters in the given name except for the '.'. and alphanumeric characters to make it a safe valid file name.

Possible drawback: This uses JDK 1.4 regular expressions and will not compile with older J2SE versions.

Parameters:
aName - name to make safe
Returns:
the safe file name

listToCommaDelimitedString

protected String listToCommaDelimitedString(List list)
Converts a list to a comma delimited string.


getLog

protected org.apache.maven.plugin.logging.Log getLog()

setLog

public void setLog(org.apache.maven.plugin.logging.Log log)

setSourceDirectory

public void setSourceDirectory(File sourceDirectory)

setOutputDirectory

public void setOutputDirectory(File outputDirectory)

setTimestampDirectory

public void setTimestampDirectory(File timestampDirectory)

setStaleMillis

public void setStaleMillis(int staleMillis)

setProject

public void setProject(org.apache.maven.project.MavenProject project)

setLocalRepository

public void setLocalRepository(org.apache.maven.artifact.repository.ArtifactRepository localRepository)

setArtifactFactory

public void setArtifactFactory(org.apache.maven.artifact.factory.ArtifactFactory artifactFactory)

setPluginArtifacts

public void setPluginArtifacts(List pluginArtifacts)


Copyright © 2005–2015 MojoHaus. All rights reserved.