Difference between revisions of "Extensions.Job.SendFinalResult"

From emotive
Jump to navigation Jump to search
Line 5: Line 5:
 
== OTL Syntax ==
 
== OTL Syntax ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
Job.SendFinalResult(ResultTerm)
+
Job.SendFinalResult(ResultTerm result);
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Revision as of 06:59, 7 November 2018

Classification

Name SendFinalResult
Short Description Sends the last result to the instance
Class Action
Extension OTX Job extension
Group Job related actions
Exceptions TypeMismatchException
InvalidStateException
Checker Rules -
Standard Compliant Yes

OTL Syntax

Job.SendFinalResult(ResultTerm result);

Description

The SendFinalResult shall send the last result before the job exits to the instance which started the job.

Properties

Name Data Type Class Default Cardinality Description
Result Result Term - [1] This represents the result which shall be sent to the tester. The term diag:ResultTerm is specified in the DiagCom extension

OTL Examples

/// Local Declarations

DiagCom.Result Result1;

/// Flow

Job.SendFinalResult(Result1);

See also

SendIntermediateResult
SetJobInfo
SetProgressInfo
AddElement
AddBranchByName
AddBranchByIndex
AddBranchByValue
AddEnvDataByDtc