jakarta-eejsr352jberet

What are the wildcards in Jakarta Batch?


When looking at the current Jakarta Batch specification 2.1, e.g. chapter 8.2.5 Step Sequence, I see

Specifies an exit status to match to the current next element. It must be a valid XML string value. Wildcards of "" and "" may be used. "" matches zero or more characters. "" matches exactly one character. It must match an exit status value in order to have effect. This is a required attribute.

Unfortunately the wildcards are not printed. It is the same on the PDF version of the specification. What are the wildcards that can be used?


Solution

  • As the specification's source code on Github contains similar flaws I strongly believe it is just a typo and thus checked the original jsr-352 specification (Batch Applications for the Java Platform 1.0). It says:

    Wildcards of "*" and "?" may be used. "*" matches zero or more characters. "?" matches exactly one character.

    Thus I strongly believe the same wildcards still apply in Jakarta Batch 2.1.