Difference between revisions of "Extensions.Job.GetJobInfo"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
{{ClassificationActivity | GetJobInfo | Get information from '''DiagService''' object | [[Term]] | [[Job|OTX Job extension]] | [[Job related terms]] | - | - }} | {{ClassificationActivity | GetJobInfo | Get information from '''DiagService''' object | [[Term]] | [[Job|OTX Job extension]] | [[Job related terms]] | - | - }} | ||
− | == | + | == OTL Syntax == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | + | StringTerm = Job.GetJobInfo(DiagServiceTerm); | |
</syntaxhighlight> | </syntaxhighlight> | ||
Line 19: | Line 19: | ||
|} | |} | ||
− | == Examples == | + | == OTL Examples == |
<syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | <syntaxhighlight lang="java" enclose="div" style="font-size: medium;"> | ||
− | String | + | DiagCom.DiagService DiagService1; |
+ | String String1; | ||
+ | |||
+ | String1 = Job.GetJobInfo(DiagService1); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 08:04, 11 February 2015
Contents
Classification
Name | GetJobInfo |
Short Description | Get 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(DiagServiceTerm);
Description
GetJobInfo retrieves information from a DiagService out object that encapsulates a 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 | Term | - | [0..1] | This diagnostic service object is a job where job information is to be retrieved. |
OTL Examples
DiagCom.DiagService DiagService1;
String String1;
String1 = Job.GetJobInfo(DiagService1);