Class PluginDataConverter


  • public class PluginDataConverter
    extends top.focess.command.converter.NullDataConverter<Plugin>
    Convert the String argument to Plugin argument
    • Field Detail

      • PLUGIN_DATA_CONVERTER

        public static final PluginDataConverter PLUGIN_DATA_CONVERTER
        Convert the String argument to Plugin argument
    • Constructor Detail

      • PluginDataConverter

        public PluginDataConverter()
    • Method Detail

      • convert

        @Nullable
        public @Nullable Plugin convert​(String arg)
        Specified by:
        convert in class top.focess.command.DataConverter<Plugin>
      • getTargetClass

        protected Class<Plugin> getTargetClass()
        Specified by:
        getTargetClass in class top.focess.command.DataConverter<Plugin>