mil.dod.th.ose.remote/src/mil/dod/th/ose/remote/api/EnumConverter.java
public static TestResult convertToTestResult(final MissionTestResult result) throws IllegalArgumentException
    {
        if (TEST_RESULT.containsKey(result))
        {
            return TEST_RESULT.get(result);
        }
        throw new IllegalArgumentException(String.format("Invalid Mission Program Test Result", result));
    }
/**
     * Helper method that translates {@link MissionTestResult} to java equivalents.
     * @param result
     *      the test result to translate
     * @return
     *      the java equivalent enumeration
     * @throws IllegalArgumentException
     *      in the event that a test result value is received that does not have a java equivalent
     */
Helper method that translates  MissionTestResult to java equivalents.
@param result
the test result to translate
@return
the java equivalent enumeration
@throws IllegalArgumentException
in the event that a test result value is received that does not have a java equivalent
Helper method that translates MissionTestResult to java equivalents . @param result the test result to translate @return the java equivalent enumeration @throws IllegalArgumentException in the event that a test result value is received that does not have a java equivalent
public static TestResult convertToTestResult(final MissionTestResult result) throws IllegalArgumentException
    {
        if (TEST_RESULT.containsKey(result))
        {
            return TEST_RESULT.get(result);
        }
        throw new IllegalArgumentException(String.format("Invalid Mission Program Test Result", result));
    }
public static TestResult convertToTestResult ( final MissionTestResult result ) throws IllegalArgumentException { if ( TEST_RESULT . containsKey ( result ) ) { return TEST_RESULT . get ( result ) ; } throw new IllegalArgumentException ( String . format ( "Invalid Mission Program Test Result" , result ) ) ; }
Helper method that translates {@link MissionTestResult} to java equivalents.
Helper method that translates { @link MissionTestResult } to java equivalents .