Difference between revisions of "Extensions.Job.SendIntermediateResult"

From emotive
Jump to navigation Jump to search
 
(3 intermediate revisions by one other user not shown)
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.SendIntermediateResult(ResultTerm);
+
Job.SendIntermediateResult(ResultTerm result);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
== Description ==
 
== Description ==
The '''SendIntermediateResult''' shall send the value of a '''diag:ResultTerm''' as an intermediate result to the instance which started the job.
+
The '''SendIntermediateResult''' will send the value of a '''diag:ResultTerm''' as an intermediate result to the instance which started the job.
  
 
== Properties ==
 
== Properties ==
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie1| Result | [[Extensions.DiagCom.Result|Result]] | [[Term]] | - | [1] | This represents the '''result''' which shall be sent to the tester as an intermediate result. The term '''diag:ResultTerm''' is specified in [[Extensions.DiagCom|the DiagCom extension]].}}
+
{{TableRowPropertie2| Result | [[Extensions.DiagCom.Result|Result]] | [[Term]] | - | [1] | This represents the '''result''' which will be sent to the tester as an intermediate result. The term '''diag:ResultTerm''' is specified in [[Extensions.DiagCom|the DiagCom extension]].}}
 
|}
 
|}
  
 
== OTL Examples ==
 
== OTL Examples ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 +
/// Local Declarations
 +
 
DiagCom.Result Result1;
 
DiagCom.Result Result1;
  

Latest revision as of 03:25, 13 September 2019

Classification

Name SendIntermediateResult
Short Description Sends an intermediate 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.SendIntermediateResult(ResultTerm result);

Description

The SendIntermediateResult will send the value of a diag:ResultTerm as an intermediate result to the instance which started the job.

Properties

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

OTL Examples

/// Local Declarations

DiagCom.Result Result1;

/// Flow

Job.SendIntermediateResult(Result1);

See also

SendFinalResult
SetJobInfo
SetProgressInfo
AddElement
AddBranchByName
AddBranchByIndex
AddBranchByValue
AddEnvDataByDtc