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. For example, the value for the property "dba.password.encrypted" will be decrypted and stored as "dba.password"


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()
           
 boolean isIncludeEnvironmentVariables()
           
 boolean isIncludeSystemProperties()
           
 boolean isQuiet()
           
 boolean isShow()
           
 void setEndsWith(String endsWith)
           
 void setIncludeEnvironmentVariables(boolean includeEnvironmentVariables)
           
 void setIncludeSystemProperties(boolean includeSystemProperties)
           
 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

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()

isIncludeSystemProperties

public boolean isIncludeSystemProperties()

setIncludeSystemProperties

public void setIncludeSystemProperties(boolean includeSystemProperties)

isIncludeEnvironmentVariables

public boolean isIncludeEnvironmentVariables()

setIncludeEnvironmentVariables

public void setIncludeEnvironmentVariables(boolean includeEnvironmentVariables)


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