public static Plugin fromString(String outputLine) {
    """
	@param outputLine as generated by the command line {@code rabbitmq-plugins groupedList}
	
	@return null if output can't be parsed.
    """
    Matcher matcher = LIST_OUTPUT_PATTERN.matcher(outputLine);
    if (!matcher.matches()) {
      return null;
    }
    String state = matcher.group(1);
    String pluginName = matcher.group(2);
    String version = matcher.group(3);

    return new Plugin(pluginName, State.fromString(state), version);
  }
public static Plugin fromString(String outputLine) {
    Matcher matcher = LIST_OUTPUT_PATTERN.matcher(outputLine);
    if (!matcher.matches()) {
      return null;
    }
    String state = matcher.group(1);
    String pluginName = matcher.group(2);
    String version = matcher.group(3);

    return new Plugin(pluginName, State.fromString(state), version);
  }
public static Plugin fromString ( String outputLine ) { Matcher matcher = LIST_OUTPUT_PATTERN . matcher ( outputLine ) ; if ( ! matcher . matches ( ) ) { return null ; } String state = matcher . group ( 1 ) ; String pluginName = matcher . group ( 2 ) ; String version = matcher . group ( 3 ) ; return new Plugin ( pluginName , State . fromString ( state ) , version ) ; }
@param outputLine as generated by the command line {@code rabbitmq-plugins groupedList}

@return null if output can't be parsed.
@param outputLine as generated by the command line { @code rabbitmq - plugins groupedList }