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

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

package org.infinispan.cli.completers;

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

import org.infinispan.cli.Context;

/**
 * @author Tristan Tarrant <[email protected]>
 * @since 11.0
 **/
public class LogLevelCompleter extends ListCompleter {
   private static final List LEVELS = Arrays.asList(
         "OFF",
         "TRACE",
         "DEBUG",
         "INFO",
         "WARN",
         "ERROR",
         "FATAL",
         "ALL"
   );

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy