class DecryptValueMojo extends AbstractValueJasyptMojo {

    /** {@inheritDoc} */
    @Override
    protected void run(final EncryptionService service, final String value, String encryptPrefix, String encryptSuffix, String decryptPrefix, String decryptSuffix) throws
            MojoExecutionException {<FILL_FUNCTION_BODY>}
}

        try {
            String actualValue = value.startsWith(encryptPrefix) ? value.substring(encryptPrefix.length(), value.length() - encryptSuffix.length()) : value;
            log.info("Decrypting value " + actualValue);
            String decryptedValue = service.decryptValue(actualValue);
            log.info("\n" + decryptedValue);
        } catch (Exception e) {
            throw new MojoExecutionException("Error Decrypting: " + e.getMessage(), e);
        }
    
<methods>public non-sealed void <init>() <variables>private java.lang.String value