All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.cli.completers.BenchmarkVerbosityModeCompleter Maven / Gradle / Ivy

package org.infinispan.cli.completers;

import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.stream.Collectors;

import org.infinispan.cli.Context;
import org.openjdk.jmh.runner.options.VerboseMode;

/**
 * @author Tristan Tarrant <[email protected]>
 * @since 12.0
 **/
public class BenchmarkVerbosityModeCompleter extends ListCompleter {
   private static List VALUES = Arrays.stream(VerboseMode.values()).map(VerboseMode::name).collect(Collectors.toList());

   @Override
   Collection getAvailableItems(Context context) {
      return VALUES;
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy