org.codehaus.mojo.properties
Class DecryptAllPropertiesMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.properties.DecryptAllPropertiesMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class DecryptAllPropertiesMojo
extends org.apache.maven.plugin.AbstractMojo

Inspect project and system properties for any keys ending with endsWith. Any matching properties are assumed to be encrypted. They are decrypted and stored as project properties minus the endsWith suffix.


Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
DecryptAllPropertiesMojo()
           
 
Method Summary
 void execute()
           
 String getEndsWith()
           
 String getPassword()
           
 org.apache.maven.project.MavenProject getProject()
           
protected  String getProperty(String key)
           
 boolean isQuiet()
           
 boolean isShow()
           
 void setEndsWith(String endsWith)
           
 void setPassword(String password)
           
 void setQuiet(boolean quiet)
           
 void setShow(boolean show)
           
 
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
 

Constructor Detail

DecryptAllPropertiesMojo

public DecryptAllPropertiesMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

getProperty

protected String getProperty(String key)

isQuiet

public boolean isQuiet()

setQuiet

public void setQuiet(boolean quiet)

getEndsWith

public String getEndsWith()

setEndsWith

public void setEndsWith(String endsWith)

isShow

public boolean isShow()

setShow

public void setShow(boolean show)

getPassword

public String getPassword()

setPassword

public void setPassword(String password)

getProject

public org.apache.maven.project.MavenProject getProject()


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