ProcessInfos
Information object that represents the current configuration of a process or timer.
Methods
getAsJson
getAsJson():
string
Returns the process information as Json.
Returns
stringJson string
getInterval
getInterval():
number
Returns the interval between the executions.
Returns
numberthe interval length (in configured interval unit)
getIntervalUnit
getIntervalUnit():
string
Returns the interval unit.
Returns
stringthe interval unit as string (see INTERVAL_UNIT_*)
getLastExecution
getLastExecution():
number
Return the last execution time of the process.
Returns
numberthe last execution time as long
getLastExecutionAsDateTime
getLastExecutionAsDateTime():
string
Returns the last execution time of the process as date time string.
Returns
stringthe last execution time
getLastStatus
getLastStatus():
string
Returns the status of the latest process execution as display string.
Returns
stringthe status as string
getLastStatusCode
getLastStatusCode():
number
Returns the status of the latest process execution.
Returns
numberthe status as number
getNextExecution
getNextExecution():
number
Returns the time of the next Execution of this timer.
This value is only set if the timer is active and performs a periodic task.
Returns
numberthe time of the next execution, or null if this timer has no next execution.
getNextExecutionAsDateTime
getNextExecutionAsDateTime():
string
Returns the time of the next Execution of this timer as a date string.
This value is only set if the timer is active and performs a periodic task.
Returns
stringthe date of the next execution as string, or null if this timer has no next execution.
getProcessName
getProcessName():
string
Returns the process name.
Returns
stringthe process name
getThreadPriority
getThreadPriority():
number
Returns the thread priority.
Returns
numberthe thread priority as int (see process.THREADPRIORITY_*)
getTimerType
getTimerType():
number
Returns the timer type.
Returns
numberthe timer type as int (see process.TIMERTYPE_*)
getTimezone
getTimezone():
string
Returns the Timezone under whom the process is executed.
Returns
stringthe Timezone
getUser
getUser():
string
Returns the title of the user under whom the process is executed.
Returns
stringthe title of the user, may be null if the execution is anonymous
isActive
isActive():
boolean
Returns of the timer for the process is still active.
Returns
booleantrue if the timer is still active
isRunning
isRunning():
boolean
Returns if the process is currently running.
Returns
booleantrue if the process is currently running
shouldKeepJDito
shouldKeepJDito():
boolean
Returns if the JDito instance is to be reused.
Returns
booleantrue if the JDito instance is to be reused