Difference between revisions of "Extensions.Job.GetJobInfo"
Jump to navigation
Jump to search
(7 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | [[Category:Job]] | + | {{DISPLAYTITLE: '''GetJobInfo '''}}[[Category:Job]] |
== Classification == | == Classification == | ||
− | {{ClassificationActivity | GetJobInfo | | + | {{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 | + | StringTerm Job.GetJobInfo(DiagServiceValue diagJob); |
</syntaxhighlight> | </syntaxhighlight> | ||
== Description == | == Description == | ||
− | '''GetJobInfo''' retrieves information | + | '''GetJobInfo''' retrieves information out of a [[Extensions.DiagCom.DiagService|DiagService]] object that encapsulates an OTX job. |
− | {{TermReturnValue| [[String]] | Information from a '''DiagService'''}} | + | {{TermReturnValue| [[Core.DataTypes.SimpleDataType.String|String]] | Information from a '''DiagService'''}} |
== Properties == | == Properties == | ||
{| {{TableHeader}} | {| {{TableHeader}} | ||
{{TableRowPropertiesHeader}} | {{TableRowPropertiesHeader}} | ||
− | {{ | + | {{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); | ||
Line 28: | Line 32: | ||
== See also == | == See also == | ||
− | [[ | + | [[Extensions.Job.CreateResponse|CreateResponse]] <br/> |
− | [[CreateResult]] <br/> | + | [[Extensions.Job.CreateResult|CreateResult]] <br/> |
− | [[GetJobProgress]] | + | [[Extensions.Job.GetJobProgress|GetJobProgress]] |
Latest revision as of 03:28, 13 September 2019
Contents
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.
![]()
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);