Class ModuleJarAdmission.Entry

java.lang.Object
com.ultikits.ultitools.manager.ModuleJarAdmission.Entry
Enclosing class:
ModuleJarAdmission

public static final class ModuleJarAdmission.Entry extends Object
Minimum decision and the early-hook outcome; archive identity survives either refusal.
  • Field Details

    • metadata

      private final PluginYmlReader.PluginYmlInfo metadata
    • apiLevel

      private final Integer apiLevel
    • apiAllowed

      private final boolean apiAllowed
    • bootstrapFailure

      @Nullable private @Nullable Throwable bootstrapFailure
  • Constructor Details

  • Method Details

    • getMetadata

      public PluginYmlReader.PluginYmlInfo getMetadata()
      Returns:
      the metadata used to make this decision
    • getApiLevel

      public Integer getApiLevel()
      Returns:
      the integer API declaration, or null when missing or invalid
    • isApiAllowed

      public boolean isApiAllowed()
      Returns:
      whether the declaration meets the shared minimum; the existing upper gate is unchanged
    • getBootstrapFailure

      @Nullable public @Nullable Throwable getBootstrapFailure()
      Returns:
      the original early-hook failure, or null when no hook failed