agave-jobs/jobs-core/src/main/java/org/iplantc/service/jobs/managers/monitors/parsers/LSFJobStatus.java
/**
	 * Returns the {@link LSFJobStatus} with code matching the value passed in regardless of case.
	 * This is similar to valueOf, but provides an {@link LSFJobStatus#UNKNOWN} value when
	 * no codes match.
	 * @param code the status code to match in a case-insensitive way.
	 * @return the {@link LSFJobStatus} with matching code, or {@link LSFJobStatus#UNKNOWN} if no matches.
	 */
Returns the  LSFJobStatus with code matching the value passed in regardless of case.
This is similar to valueOf, but provides an  LSFJobStatus#UNKNOWN value when
no codes match.
@param code the status code to match in a case-insensitive way.
@return the  LSFJobStatus with matching code, or  LSFJobStatus#UNKNOWN if no matches.
Returns the LSFJobStatus with code matching the value passed in regardless of case . This is similar to valueOf but provides an LSFJobStatus#UNKNOWN value when no codes match . @param code the status code to match in a case - insensitive way . @return the LSFJobStatus with matching code or LSFJobStatus#UNKNOWN if no matches .
public static LSFJobStatus valueOfCode(String code) {
		for(LSFJobStatus status: values()) {
			if (status.code.equalsIgnoreCase(code)) {
				return status;
			}
		}
		return UNKNOWN;
	}
public static LSFJobStatus valueOfCode ( String code ) { for ( LSFJobStatus status : values ( ) ) { if ( status . code . equalsIgnoreCase ( code ) ) { return status ; } } return UNKNOWN ; }
Returns the {@link LSFJobStatus} with code matching the value passed in regardless of case.
Returns the { @link LSFJobStatus } with code matching the value passed in regardless of case .