client/splunk.js
function Scheme(title) {
        this.title = utils.isUndefined(title) ? "" : title;

        // Set the defaults.
        this.description = null;
        this.useExternalValidation = true;
        this.useSingleInstance = false;
        this.streamingMode = Scheme.streamingModeXML;

        // List of Argument objects, each to be represented by an <arg> tag.
        this.args = [];
    }
function Scheme(title) {
        this.title = utils.isUndefined(title) ? "" : title;

        // Set the defaults.
        this.description = null;
        this.useExternalValidation = true;
        this.useSingleInstance = false;
        this.streamingMode = Scheme.streamingModeXML;

        // List of Argument objects, each to be represented by an <arg> tag.
        this.args = [];
    }
function Scheme ( title ) { this . title = utils . isUndefined ( title ) ? "" : title ; // Set the defaults. this . description = null ; this . useExternalValidation = true ; this . useSingleInstance = false ; this . streamingMode = Scheme . streamingModeXML ; // List of Argument objects, each to be represented by an <arg> tag. this . args = [ ] ; }
Class representing the metadata for a modular input kind.

A `Scheme` specifies a title, description, several options of how Splunk
should run modular inputs of this kind, and a set of arguments that define
a particular modular input's properties.
The primary use of `Scheme` is to abstract away the construction of XML
to feed to Splunk.

@example

var s =  new Scheme();

var myFullScheme = new Scheme("fullScheme");
myFullScheme.description = "This is how you set the other properties";
myFullScheme.useExternalValidation = true;
myFullScheme.useSingleInstance = false;
myFullScheme.streamingMode = Scheme.streamingModeSimple;

@param {String} The identifier for this Scheme in Splunk.
@class splunkjs.ModularInputs.Scheme
Class representing the metadata for a modular input kind .