public class JobPhaseTranslator
extends java.lang.Object
| Constructor and Description |
|---|
JobPhaseTranslator() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getPhaseText(int pPhaseCode)
Returns a user readable text for a job phase.
|
static void |
setJesVersion(int pVersion)
Setting the JES version will disable the automatic changing from JES3
(default) to JES2.
|
public static java.lang.String getPhaseText(int pPhaseCode)
Supports both JES2 and JES3 translations for the possible phases. While JES3 is the default 'library', the method will return phase texts for JES2 as soon as a phase code (e.g. 128) was not found in the JES3 'library'.
pPhaseCode - the phase codesetJesVersion(int)public static void setJesVersion(int pVersion)
pVersion - must be either 2 or 3getPhaseText(int)Copyright © 2015 Micro Focus GmbH. All rights reserved.