
com.github.mowedgrass.jasyptgradleboot.task.file.process.definition.DecryptionProcessDefinition.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jasypt-gradle-boot-plugin Show documentation
Show all versions of jasypt-gradle-boot-plugin Show documentation
jasypt spring boot gradle plugin
The newest version!
package com.github.mowedgrass.jasyptgradleboot.task.file.process.definition
import com.github.mowedgrass.jasyptgradleboot.task.file.process.definition.executor.DecryptExecutor
import static com.github.mowedgrass.jasyptgradleboot.task.file.process.definition.ProcessType.DECRYPT
class DecryptionProcessDefinition extends ProcessDefinition {
public static final String TAG_PATTERN = /ENC\((.*)\)/
public static final String LINE_PATTERN = /^(.*[:=]\s*)$TAG_PATTERN(\s*)$/
public static final String OUTPUT_FORMAT = '%s'
public DecryptionProcessDefinition() {
this(OUTPUT_FORMAT)
}
public DecryptionProcessDefinition(String format) {
super(DECRYPT, TAG_PATTERN, LINE_PATTERN, format, new DecryptExecutor())
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy