Difference between revisions of "Extensions.Job.GetJobProgress"

From emotive
Jump to navigation Jump to search
Line 1: Line 1:
 
{{DISPLAYTITLE:  '''GetJobProgress '''}}[[Category:Job]]
 
{{DISPLAYTITLE:  '''GetJobProgress '''}}[[Category:Job]]
 
== Classification ==
 
== Classification ==
{{ClassificationActivity | GetJobProgress | Get progress information from a '''DiagService''' object | [[Term]] | [[Extensions.Job|OTX Job extension]] | [[Job related terms]] | - | - }}
+
{{ClassificationActivity | GetJobProgress | Gets progress information from a '''DiagService''' object | [[Term]] | [[Extensions.Job|OTX Job extension]] | [[Extensions.Job#Terms|Job related terms]] | - | - }}
  
 
== OTL Syntax ==
 
== OTL Syntax ==
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
IntegerTerm = Job.GetJobProgress(DiagServiceTerm);
+
IntegerTerm = Job.GetJobProgress(DiagServiceValue);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
== Description ==
 
== Description ==
'''GetJobProgress''' brings progress information out of a [[Core.DataTypes.ComplexDataType.DiagService|DiagService]] object that encapsulates a OTX job.
+
The '''GetJobProgress''' retrieves progress information out of a [[Extensions.DiagCom.DiagService|DiagService]] object that encapsulates an OTX job.
  
 
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.Integer|Integer]] |  Progress information from a '''DiagService'''}}
 
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.Integer|Integer]] |  Progress information from a '''DiagService'''}}
Line 16: Line 16:
 
{| {{TableHeader}}
 
{| {{TableHeader}}
 
{{TableRowPropertiesHeader}}
 
{{TableRowPropertiesHeader}}
{{TableRowPropertie1| DiagJob | [[Core.DataTypes.ComplexDataType.DiagService|DiagService]] | [[Term]] | - | [0..1] | This diagnostic service object is a job where progress information to be retrieved from the job.}}
+
{{TableRowPropertie2| DiagJob | [[Extensions.DiagCom.DiagService|DiagService]] | [[Value]] | - | [0..1] | This diagnostic service object represents the job from which job progress information shall be retrieved.}}
 
|}
 
|}
  
Line 23: Line 23:
 
DiagCom.DiagService DiagService1;
 
DiagCom.DiagService DiagService1;
 
Integer Integer1;
 
Integer Integer1;
 +
 +
/// Flow
  
 
Integer1 = Job.GetJobProgress(DiagService1);
 
Integer1 = Job.GetJobProgress(DiagService1);

Revision as of 09:14, 18 October 2018

Classification

Name GetJobProgress
Short Description Gets progress information from a DiagService object
Class Term
Extension OTX Job extension
Group Job related terms
Exceptions -
Checker Rules -
Standard Compliant Yes

OTL Syntax

IntegerTerm = Job.GetJobProgress(DiagServiceValue);

Description

The GetJobProgress retrieves progress information out of a DiagService object that encapsulates an OTX job.

Return Value

The Term returns the value, see table below.

Icons Note.png In OTX, Terms are categorized according to its return data type!
Data Type Description
Integer Progress information from a DiagService

Properties

Name Data Type Class Default Cardinality Description
DiagJob DiagService Value - [0..1] This diagnostic service object represents the job from which job progress information shall be retrieved.

OTL Examples

DiagCom.DiagService DiagService1;
Integer Integer1;

/// Flow

Integer1 = Job.GetJobProgress(DiagService1);

See also

CreateResponse
CreateResult
GetJobInfo