leitstand-inventory-api/src/main/java/io/leitstand/inventory/service/ElementImageState.java
public static ElementImageState toElementImageState(String s) {
		if(isEmptyString(s)) {
			return PULL;
		}
		return valueOf(s);
	}
/**
	 * Converts a string to the corresponding installation state and defaults to <code>PULL</code>
	 * if the string is <code>null</code> or empty. 
	 * @param state the element image state
	 * @return the corresponding installation state
	 */
Converts a string to the corresponding installation state and defaults to PULL
if the string is null or empty.
@param state the element image state
@return the corresponding installation state
Converts a string to the corresponding installation state and defaults to PULL if the string is null or empty . @param state the element image state @return the corresponding installation state
public static ElementImageState toElementImageState(String s) {
		if(isEmptyString(s)) {
			return PULL;
		}
		return valueOf(s);
	}
public static ElementImageState toElementImageState ( String s ) { if ( isEmptyString ( s ) ) { return PULL ; } return valueOf ( s ) ; }
Converts a string to the corresponding installation state and defaults to <code>PULL</code>
 if the string is <code>null</code> or empty.
Converts a string to the corresponding installation state and defaults to <code > PULL< / code > if the string is <code > null< / code > or empty .