Reference for env Methods

Method

Description

createTempFile()

Create a temporary file that is cleaned up when the script completes

expandRequestAction()

Add a new sub-task for each set of values

getBqyDocument()

Construct a DOM from the content of an Interactive Reporting document

getDescription()

Retrieve the description associated with the script

getFileLines()

Read the lines of a file and construct an array that contains one string per line

getLogLevel()

Retrieve the current default log level that is used when calling log()

getMimeTypeUuid()

Retrieve the UUID of the specified MIME type

getNullUuid()

Retrieve a null UUID constant

getParameterValue()

Retrieve the value of the specified script parameter

getParameterValues()

Retrieve all of the values assigned to a multi-value script parameter

getRepository()

Retrieve an object that can be used to access the content of the repository

isDesktopMode()

Determine whether the script is being run on the desktop

isServerMode()

Determine whether the script is being run in EPM Workspace

loadScript()

Load the content of another script into this script environment

log()

Post a message at the current default logging level

logAlways()

Post a message that is always written to the log

logClassName()

Post a message that contains the specified Java class name of the object

logDebug()

Post a message for debugging

logError()

Post a message associated with a detected error condition

logFatal()

Post a message associated with a detected error condition

logInfo()

Post an informational message

logWarn()

Post a warning message

md5Hash()

Generate an MD5 hash from the specified string

setLogLevel()

Set the default level at which logging is to be performed

setProgress()

Update the progress of the script

updateDescription()

Set a new description for this script invocation

writeBqyDom()

Write the specified DOM out to a file