from

Converts a string representation to the corresponding OperationGenerationLevel.

This function supports case-insensitive matching and throws an exception for invalid input.

Return

The corresponding OperationGenerationLevel or throws an IllegalArgumentException.

Parameters

string

The string to convert.