org.codehaus.mojo.properties
Class DecryptAllPropertiesMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
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"
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
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 |
DecryptAllPropertiesMojo
public DecryptAllPropertiesMojo()
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.