script
AbstractVersion

The base class of all script versions. It contains common properties and methods used with all script versions. Note: This object must be configured through the AbstractScript.



public abstract class AbstractVersion

Properties
comment The user comment associated with the script version.

type=string
access=read-create
default=
minimum=0
maximum=255
Mandatory on create

creationDate The date the version was created.

type=Date
access=read-only
default=0

mtosi_id The unique ID of the script version.

type=long
access=read-create
default=0
minimum=1
maximum=2147483647

mtosi_source The user/system who created the version of the script.

type=string
access=read-only
default=
minimum=0
maximum=255

mtosi_version The version number of the script.

type=int
access=read-only
default=0

versionMode The mode of the version. If the script is in a Draft mode, exactly one version will be in Draft mode.

type=script.ModeType
default=Released

  
Properties inherited from ManagedObject
actionMask, children-Set, deploymentState, isFaultSquelched, name, objectFullName, selfAlarmed
 
Methods

getScriptContents

This method returns the script version contents (commands).
Input Parameters:
objectFullName : Pointer - The full name of the version to retrieve.
continueOnFailure : continueOnFailure - (Optional) Continue processing requests in this stream if an exception occurs, unless the request is invalid. Default: false
Output Parameters:
scriptBody : string - The script versions body.
Exceptions:
script.AbstractVersion.getScriptContentsException