src/main/java/org/apache/maven/shared/invoker/InvocationRequest.java
/**
         * Returns the enumeration type which is related to the given long option.
         * 
         * @param longOption The type which is searched for.
         * @return The appropriate {@link ReactorFailureBehavior}
         * @throws IllegalArgumentException in case of an long option which does not exists.
         */
Returns the enumeration type which is related to the given long option.

@param longOption The type which is searched for.
@return The appropriate  ReactorFailureBehavior
@throws IllegalArgumentException in case of an long option which does not exists.
Returns the enumeration type which is related to the given long option . @param longOption The type which is searched for . @return The appropriate ReactorFailureBehavior @throws IllegalArgumentException in case of an long option which does not exists .
public static ReactorFailureBehavior valueOfByLongOption( String longOption )
        {
            for ( ReactorFailureBehavior item : ReactorFailureBehavior.values() )
            {
                if ( item.getLongOption().equals( longOption ) )
                {
                    return item;
                }
            }
            throw new IllegalArgumentException( "The string '" + longOption
                + "' can not be converted to enumeration." );
        }
public static ReactorFailureBehavior valueOfByLongOption ( String longOption ) { for ( ReactorFailureBehavior item : ReactorFailureBehavior . values ( ) ) { if ( item . getLongOption ( ) . equals ( longOption ) ) { return item ; } } throw new IllegalArgumentException ( "The string '" + longOption + "' can not be converted to enumeration." ) ; }
Returns the enumeration type which is related to the given long option.
Returns the enumeration type which is related to the given long option .