All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.mowedgrass.jasyptgradleboot.action.EncryptionAction.groovy Maven / Gradle / Ivy

package com.github.mowedgrass.jasyptgradleboot.action

import com.github.mowedgrass.jasyptgradleboot.task.PasswordAwareTask
import org.gradle.api.Action

class EncryptionAction implements Action {

    public static final String GROUP = "encryption"

    private String taskDescription
    private Set resourceFiles

    public EncryptionAction(String taskDescription, Set resourceFiles) {
        this.taskDescription = taskDescription
        this.resourceFiles = resourceFiles
    }

    public void execute(T task) {
        task.group = GROUP
        task.description = taskDescription
        task.resourceFiles = resourceFiles
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy