Initializing help system before first use

ExecutionMode

An ExecutionMode represents the various ways of executing a model. Two modes, named LOAD and RUN, are defined for all preojects, but others can be specified as part of the model. The name of an execution mode may optionally passed to ScenarioProperties#execute to specify how the execution is to take place.

Method summary

name description
getClearsInputData Whether use of this execution mode will cause input data to be cleared. The LOAD execution mode has this property set.
getDescription Descriptive text about the execution mode (may be blank)
getName Name of the execution mode
getNumberOfThreads Reeturns either a number representing a positive integer (denoting the number of threads this execution mode is limited to), or undefined (denoting no limit at all). This representation means that the result of this method can be used in a conditional expression to test if there is a thread limit; and further, if there is no limit, use of it in an arithmetic expression will treat it as if it were NaN.
constructor

Constructor

new ExecutionMode ( data )

Creates an Execution mode. The constructor should not be invoked directly, instances can be obtained via App#getExecutionModes.

Parameters:
params
Name Type Description
data Payload data for execution mode
details

Methods

method
getClearsInputData ( ) → {boolean}

Whether use of this execution mode will cause input data to be cleared. The LOAD execution mode has this property set.

details
Returns:
returns table
Type Description
type
boolean
Back to Top
method
getDescription ( ) → {string}

Descriptive text about the execution mode (may be blank)

details
Returns:
returns table
Type Description
type
string
Back to Top
method
getName ( ) → {string}

Name of the execution mode

details
Returns:
returns table
Type Description
type
string
Back to Top
method
getNumberOfThreads ( ) → {number|undefined}

Reeturns either a number representing a positive integer (denoting the number of threads this execution mode is limited to), or undefined (denoting no limit at all).

This representation means that the result of this method can be used in a conditional expression to test if there is a thread limit; and further, if there is no limit, use of it in an arithmetic expression will treat it as if it were NaN.

details
Returns:
returns table
Type Description
type
number | undefined
Back to Top

© 2001-2019 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.