addArgument

splunkjs.ModularInputs.Scheme.addArgument

Add the provided argument, arg, to the this.arguments Array.

Syntax

Scheme.prototype.addArgument = function (arg)

Parameters

Name Type Description
arg Object

An Argument object to add to this Scheme's argument list.

toXML

splunkjs.ModularInputs.Scheme.toXML

Creates an elementtree Element representing this Scheme, then returns it.

Syntax

Scheme.prototype.toXML = function ()

Return

Object.

An elementtree Element object representing this Scheme.