mil.dod.th.ose.remote/src/mil/dod/th/ose/remote/api/EnumConverter.java
public static ProgramStatus convertMissionStatusToProgramStatus(final MissionStatus status) //NOCHECKSTYLE:
            throws IllegalArgumentException //high cyclomatic complexity, need to account for all program statuses
    {  
        if (MISSION_STATUS.containsKey(status))
        {
            return MISSION_STATUS.get(status);
        }
        throw new IllegalArgumentException(String.format("Invalid mission status specified: %s", status));
    }
/**
     * Helper method that translates {@link MissionStatus} to java equivalents.
     * @param status
     *     the mission status to translate
     * @return
     *     the java equivalent
     * @throws IllegalArgumentException
     *     in the event that a status value is received that does not have a java equivalent
     */
Helper method that translates  MissionStatus to java equivalents.
@param status
the mission status to translate
@return
the java equivalent
@throws IllegalArgumentException
in the event that a status value is received that does not have a java equivalent
Helper method that translates MissionStatus to java equivalents . @param status the mission status to translate @return the java equivalent @throws IllegalArgumentException in the event that a status value is received that does not have a java equivalent
public static ProgramStatus convertMissionStatusToProgramStatus(final MissionStatus status) 
            throws IllegalArgumentException 
    {  
        if (MISSION_STATUS.containsKey(status))
        {
            return MISSION_STATUS.get(status);
        }
        throw new IllegalArgumentException(String.format("Invalid mission status specified: %s", status));
    }
public static ProgramStatus convertMissionStatusToProgramStatus ( final MissionStatus status ) throws IllegalArgumentException { if ( MISSION_STATUS . containsKey ( status ) ) { return MISSION_STATUS . get ( status ) ; } throw new IllegalArgumentException ( String . format ( "Invalid mission status specified: %s" , status ) ) ; }
Helper method that translates {@link MissionStatus} to java equivalents.
Helper method that translates { @link MissionStatus } to java equivalents .
//NOCHECKSTYLE: //high cyclomatic complexity, need to account for all program statuses