Difference between revisions of "Extensions.Job.GetJobInfo"

From emotive
Jump to navigation Jump to search
 
(5 intermediate revisions by one other user not shown)
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 diagJob);
 
</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.}}
+
{{TableRowPropertie2| DiagJob | [[Extensions.DiagCom.DiagService|DiagService]] | [[Value]] | - | [0..1] |This diagnostic service object representing a job, where job information will be retrieved.}}
 
|}
 
|}
  
 
== 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.DiagService DiagService1;
 
DiagCom.DiagService DiagService1;
String String1;
+
String String1 = "";
 +
 
 +
/// Flow
  
 
String1 = Job.GetJobInfo(DiagService1);
 
String1 = Job.GetJobInfo(DiagService1);

Latest revision as of 03:28, 13 September 2019

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 diagJob);

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 will be retrieved.

OTL Examples

/// Local Declarations

DiagCom.DiagService DiagService1;
String String1 = "";

/// Flow

String1 = Job.GetJobInfo(DiagService1);

See also

CreateResponse
CreateResult
GetJobProgress