/** * Return the string name of this CommandType or the * integer value if outside the bounds of the table */ public String toString() { String[] strTable = getStringTable(); int index = value - getOffset(); if (strTable != null && index >= 0 && index < strTable.length) return strTable[index]; else return Integer.toString (value); }
"enterprise.deployapi.spi.unexpcommand", "Received unexpected deployment facility command ${0}", new Object [] {commandType.toString()} ));
"enterprise.deployapi.spi.unexpcommand", "Received unexpected deployment facility command ${0}", new Object [] {commandType.toString()} ));
/** * Return the string name of this CommandType or the * integer value if outside the bounds of the table */ public String toString() { String[] strTable = getStringTable(); int index = value - getOffset(); if (strTable != null && index >= 0 && index < strTable.length) return strTable[index]; else return Integer.toString (value); }
/** * Return the string name of this CommandType or the * integer value if outside the bounds of the table */ public String toString() { String[] strTable = getStringTable(); int index = value - getOffset(); if (strTable != null && index >= 0 && index < strTable.length) return strTable[index]; else return Integer.toString (value); }