private static DirectoryGrouping resolveDirectoryGrouping ( final ModelNode model , final ExpressionResolver expressionResolver ) { try { return DirectoryGrouping . forName ( HostResourceDefinition . DIRECTORY_GROUPING . resolveModelAttribute ( expressionResolver , model ) . asString ( ) ) ; } catch ( OperationFailedException e ) { throw new IllegalStateException ( e ) ; } }
Returns the value of found in the model .