Class ServerEula


  • public class ServerEula
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean agreed  
      private java.nio.file.Path file  
      private static org.apache.logging.log4j.Logger LOGGER  
    • Constructor Summary

      Constructors 
      Constructor Description
      ServerEula​(java.nio.file.Path p_i50746_1_)  
    • Field Detail

      • LOGGER

        private static final org.apache.logging.log4j.Logger LOGGER
      • file

        private final java.nio.file.Path file
      • agreed

        private final boolean agreed
    • Constructor Detail

      • ServerEula

        public ServerEula​(java.nio.file.Path p_i50746_1_)
    • Method Detail

      • readFile

        private boolean readFile()
      • hasAgreedToEULA

        public boolean hasAgreedToEULA()
      • saveDefaults

        private void saveDefaults()