org.codehaus.mojo.properties
Class AbstractWritePropertiesMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.properties.AbstractWritePropertiesMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
WriteActiveProfileProperties, WriteProjectProperties

public abstract class AbstractWritePropertiesMojo
extends org.apache.maven.plugin.AbstractMojo

Version:
$Id: AbstractWritePropertiesMojo.java 8861 2009-01-21 15:35:38Z pgier $
Author:
Zarar Siddiqi

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractWritePropertiesMojo()
           
 
Method Summary
protected  Properties getEnvironmentVariableProperties(Properties properties)
           
protected  Properties getFormattedProperties(Properties properties, OutputStyle style)
           
protected  Properties getPrefixedProperties(Properties properties, String prefix)
           
protected  SortedProperties getSortedProperties(Properties properties)
           
protected  Properties getStandardMavenProperties(org.apache.maven.project.MavenProject project)
           
protected  void writeProperties(File file, Properties properties, OutputStyle outputStyle, String prefix)
           
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
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
 

Constructor Detail

AbstractWritePropertiesMojo

public AbstractWritePropertiesMojo()
Method Detail

writeProperties

protected void writeProperties(File file,
                               Properties properties,
                               OutputStyle outputStyle,
                               String prefix)
                        throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

getStandardMavenProperties

protected Properties getStandardMavenProperties(org.apache.maven.project.MavenProject project)

getSortedProperties

protected SortedProperties getSortedProperties(Properties properties)

getFormattedProperties

protected Properties getFormattedProperties(Properties properties,
                                            OutputStyle style)

getPrefixedProperties

protected Properties getPrefixedProperties(Properties properties,
                                           String prefix)

getEnvironmentVariableProperties

protected Properties getEnvironmentVariableProperties(Properties properties)


Copyright © 2009-2012 The Kuali Foundation. All Rights Reserved.