Constructs a new ConditionalTask.
Optional
properties: IConditionalTaskProperties to set
A list of subtasks to process in an attempt to produce a valid numerical result.
A list of subtasks that will be run if attempt
subtasks are unable to produce an acceptable
result.
Converts this ConditionalTask to JSON.
JSON object
Static
createCreates a new ConditionalTask instance using the specified properties.
Optional
properties: IConditionalTaskProperties to set
ConditionalTask instance
Static
decodeDecodes a ConditionalTask message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
ConditionalTask
Static
decodeDecodes a ConditionalTask message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
ConditionalTask
Static
encodeEncodes the specified ConditionalTask message. Does not implicitly {@apilink oracle_job.OracleJob.ConditionalTask.verify|verify} messages.
ConditionalTask message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
encodeEncodes the specified ConditionalTask message, length delimited. Does not implicitly {@apilink oracle_job.OracleJob.ConditionalTask.verify|verify} messages.
ConditionalTask message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
fromCreates a ConditionalTask message from a plain object. Also converts values to their respective internal types.
Plain object
ConditionalTask
Static
getGets the default type url for ConditionalTask
Optional
typeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
Static
toCreates a plain object from a ConditionalTask message. Also converts values to other types if specified.
ConditionalTask
Optional
options: IConversionOptionsConversion options
Plain object
Static
verifyVerifies a ConditionalTask message.
Plain object to verify
null
if valid, otherwise the reason why it is not
This task will run the
attempt
on the subtasks in an effort to produce a valid numerical result. Ifattempt
. fails to produce an acceptable result,on_failure
subtasks will be run instead.Input: The current running numerical result output from a task.
Returns: A numerical result, else run
on_failure
subtasks.Example: Returns the numerical result from the conditionalTask's subtasks, else
on_failure
returns the numerical result from its subtasks.