Class SecurityCheckCommand

java.lang.Object
pro.gravit.utils.command.Command
pro.gravit.launchserver.command.Command
pro.gravit.launchserver.command.service.SecurityCheckCommand

public class SecurityCheckCommand extends Command
  • Constructor Details

    • SecurityCheckCommand

      public SecurityCheckCommand(LaunchServer server)
  • Method Details

    • printCheckResult

      public static void printCheckResult(String module, String comment, Boolean status)
    • printCheckResult

      @Deprecated public static void printCheckResult(pro.gravit.utils.helper.LogHelper.Level level, String module, String comment, Boolean status)
      Deprecated.
    • getArgsDescription

      public String getArgsDescription()
      Specified by:
      getArgsDescription in class pro.gravit.utils.command.Command
    • getUsageDescription

      public String getUsageDescription()
      Specified by:
      getUsageDescription in class pro.gravit.utils.command.Command
    • invoke

      public void invoke(String... args)
      Specified by:
      invoke in class pro.gravit.utils.command.Command
    • checkOtherWriteAccess

      public boolean checkOtherWriteAccess(Path file) throws IOException
      Throws:
      IOException
    • checkOtherReadOrWriteAccess

      public boolean checkOtherReadOrWriteAccess(Path file) throws IOException
      Throws:
      IOException