Skip to content

Commit

Permalink
Merge pull request #125 from ExaWorks/revert-122-fix/get_context
Browse files Browse the repository at this point in the history
Revert "expand on the `getContext()` description"
  • Loading branch information
SteVwonder authored Apr 23, 2021
2 parents f72558d + b39f557 commit 67a8419
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
## STATUS: EARLY DRAFT



## Introduction

The purpose of this document is to provide an analysis of the design and
Expand All @@ -109,6 +110,7 @@ subset of resources such as within a job's allocation. This job
management API aims to also transparently abstract such execution managers.



### A Note About Code Samples

There are various locations in this document when code is used to provide
Expand Down Expand Up @@ -1022,16 +1024,12 @@ int? getExitCode()
If the job has exited, returns the exit code, otherwise `null`.


<a name="jobstatus-getcontext"></a>
<a name="jobstatus-getmessage"></a>
```java
Map<String, Any>? getContext()
String? getMessage()
```

Returns additional, backend specific metadata associated with this status, if
any. Those metadata may include details on the state transition, backend
native job IDs, or other non-standardized pieces of information. An
implementation MAY specify a subset of information expected to be included in
the returned map.
Returns the message associated with this status, if any.


<a name="jobstatus-isfinal"></a>
Expand Down Expand Up @@ -2213,3 +2211,4 @@ The Portable Submission Interface for Jobs (J/PSI) is named after the [J/ψ
meson](https://en.wikipedia.org/wiki/J/psi_meson). It is pronounced like
"Jay-Sigh" (or ˈdʒeɪ ˈsaɪ if you know
[IPA](https://en.wikipedia.org/wiki/Help:IPA/English)).

0 comments on commit 67a8419

Please sign in to comment.