Class MittenLibConsumer

java.lang.Object
me.bristermitten.mittenlib.MittenLibConsumer

public class MittenLibConsumer extends Object
Stores the name of the consumer of MittenLib (usually the plugin name). Useful for logging, currently also used for the thread name in FileWatcherService
  • Constructor Details

    • MittenLibConsumer

      public MittenLibConsumer(String name)
      Create a new MittenLibConsumer
      Parameters:
      name - the name of the consumer
  • Method Details

    • getName

      public String getName()
      Returns:
      the name of the consumer