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

javaposse.jobdsl.dsl.helpers.publisher.ScpContext.groovy Maven / Gradle / Ivy

There is a newer version: 1.22-rxd-2
Show newest version
package javaposse.jobdsl.dsl.helpers.publisher

import javaposse.jobdsl.dsl.helpers.Context

class ScpContext implements Context {
    private List entries = []

    def entry(String source, String destination = '', boolean keepHierarchy = false) {
        entries << new ScpEntry(source: source, destination: destination, keepHierarchy: keepHierarchy)
    }

    static class ScpEntry {
        String source
        String destination
        boolean keepHierarchy
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy