java.lang.Object
org.spongepowered.eventimplgen.processor.EventGenOptions

@Singleton public class EventGenOptions extends Object
  • Field Details

  • Method Details

    • generatedEventFactory

      public String generatedEventFactory()
    • inclusivePackages

      public Set<String> inclusivePackages()
    • exclusivePackages

      public Set<String> exclusivePackages()
    • sortPriorityPrefix

      @Nullable public @Nullable String sortPriorityPrefix()
    • groupingPrefixes

      public Map<String,String> groupingPrefixes()
    • inclusiveAnnotations

      public Set<String> inclusiveAnnotations()
    • exclusiveAnnotations

      public Set<String> exclusiveAnnotations()
    • debug

      public boolean debug()
    • validate

      public boolean validate()
      Ensure all options are accurate, and return `false` to skip processing if any issues are detected.

      This option can safely be called multiple times without printing extraneous error messages.

      Returns:
      whether all options are valid