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

org.rundeck.api.RunAdhocScript Maven / Gradle / Ivy

The newest version!
package org.rundeck.api;

import java.io.InputStream;

/**
 * An adhoc script to be executed by Rundeck
 */
public interface RunAdhocScript extends RunAdhoc {

    /**
     * InputStream for reading the script to be executed - mandatory
     * @return
     */
    InputStream getScript();

    /**
     * Arguments to the script
     * @return
     */
    String getArgString();

    /**
     * Command string to invoke the script with arguments
     * @return
     */
    String getScriptInterpreter();

    /**
     * If true, quote the script filepath and args to the script interpreter.
     * @return
     */
    Boolean getInterpreterArgsQuoted();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy