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 java.lang.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  java.io.File outputDirectory
           
protected  java.util.List pluginArtifacts
           
protected  org.apache.maven.project.MavenProject project
           
protected  java.io.File sourceDirectory
           
protected  int staleMillis
           
protected  java.io.File timestampDirectory
           
 
Constructor Summary
AbstractAxisPlugin()
           
 
Method Summary
protected  java.lang.String createSafeFileName(java.lang.String aName)
          Replaces all characters in the given name except for the '.'.
protected  org.apache.maven.plugin.logging.Log getLog()
           
protected  java.lang.String listToCommaDelimitedString(java.util.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(java.io.File outputDirectory)
           
 void setPluginArtifacts(java.util.List pluginArtifacts)
           
 void setProject(org.apache.maven.project.MavenProject project)
           
 void setSourceDirectory(java.io.File sourceDirectory)
           
 void setStaleMillis(int staleMillis)
           
 void setTimestampDirectory(java.io.File timestampDirectory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sourceDirectory

protected java.io.File sourceDirectory

outputDirectory

protected java.io.File outputDirectory

timestampDirectory

protected java.io.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 java.util.List pluginArtifacts

log

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

AbstractAxisPlugin

public AbstractAxisPlugin()
Method Detail

createSafeFileName

protected java.lang.String createSafeFileName(java.lang.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 java.lang.String listToCommaDelimitedString(java.util.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(java.io.File sourceDirectory)

setOutputDirectory

public void setOutputDirectory(java.io.File outputDirectory)

setTimestampDirectory

public void setTimestampDirectory(java.io.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(java.util.List pluginArtifacts)


Copyright © 2005-2010. All Rights Reserved.