Difference between revisions of "Extensions.Job.GetJobInfo"

From emotive
Jump to navigation Jump to search
Line 1: Line 1:
 
{{DISPLAYTITLE:  '''GetJobInfo '''}}[[Category:Job]]
 
{{DISPLAYTITLE:  '''GetJobInfo '''}}[[Category:Job]]
 
== Classification ==
 
== Classification ==
{{ClassificationActivity | GetJobInfo | Get information from '''DiagService''' object | [[Term]] | [[Extensions.Job|OTX Job extension]] | [[Job related terms]] | - | - }}
+
{{ClassificationActivity | GetJobInfo | Gets information from '''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;">
StringTerm = Job.GetJobInfo(DiagServiceTerm);
+
StringTerm = Job.GetJobInfo(DiagServiceValue);
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
== Description ==
 
== Description ==
'''GetJobInfo''' retrieves information from a [[Core.DataTypes.ComplexDataType.DiagService|DiagService]] out object that encapsulates a OTX job.
+
'''GetJobInfo''' retrieves information out of a [[Extensions.DiagCom.DiagService|DiagService]] object that encapsulates an OTX job.  
  
 
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.String|String]] |  Information from a '''DiagService'''}}
 
{{TermReturnValue| [[Core.DataTypes.SimpleDataType.String|String]] |  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 job information is to be retrieved.}}
+
{{TableRowPropertie1| DiagJob | [[Core.DataTypes.ComplexDataType.DiagService|DiagService]] | [[Value]] | - | [0..1] |This diagnostic service object representing a job, where job information should be retrieved.}}
 
|}
 
|}
  
Line 22: Line 22:
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;">
 
DiagCom.DiagService DiagService1;
 
DiagCom.DiagService DiagService1;
String String1;
+
String String1 = "";
 +
 
 +
/// Flow
  
 
String1 = Job.GetJobInfo(DiagService1);
 
String1 = Job.GetJobInfo(DiagService1);

Revision as of 09:09, 18 October 2018

Classification

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

OTL Syntax

StringTerm = Job.GetJobInfo(DiagServiceValue);

Description

GetJobInfo retrieves 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
String Information from a DiagService

Properties

Name Data Type Class Default Cardinality Description
DiagJob DiagService Value - [0..1] This diagnostic service object representing a job, where job information should be retrieved.

OTL Examples

DiagCom.DiagService DiagService1;
String String1 = "";

/// Flow

String1 = Job.GetJobInfo(DiagService1);

See also

CreateResponse
CreateResult
GetJobProgress