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

javaposse.jobdsl.dsl.ScriptRequest Maven / Gradle / Ivy

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

import java.net.URL;

public class ScriptRequest {
    public ScriptRequest(String location, String body, URL urlRoot) {
        this(location, body, urlRoot, false);
    }

    public ScriptRequest(String location, String body, URL urlRoot, boolean ignoreExisting) {
        this.location = location;
        this.body = body;
        this.urlRoot = urlRoot;
        this.ignoreExisting = ignoreExisting;
    }

    // Starting Object
    public String location;

    // Starting Script
    public String body;

    // Where can we load objects from
    //ResourceConnector resourceConnector; // OR
    public URL urlRoot; // file://. or http://server/ or workspace://JOBNAME/

    // Ignore existing jobs
    public boolean ignoreExisting;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy