Class StartupPluginResult

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static StartupPluginResult SUCCESS
      A predefined result instance that indicates all processing completed successfully.
    • Constructor Summary

      Constructors 
      Constructor Description
      StartupPluginResult​(boolean completedSuccessfully, boolean continueStartup, java.lang.CharSequence message)
      Creates a new startup plugin result with the provided information.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean completedSuccessfully()
      Indicates whether the plugin successfully completed its processing.
      boolean continueStartup()
      Indicates whether the server startup process should continue.
      java.lang.String getMessage()
      Retrieves a message with additional information about the processing performed by this plugin, if available.
      java.lang.String toString()
      Retrieves a string representation of this startup plugin result.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • SUCCESS

        public static final StartupPluginResult SUCCESS
        A predefined result instance that indicates all processing completed successfully.
    • Constructor Detail

      • StartupPluginResult

        public StartupPluginResult​(boolean completedSuccessfully,
                                   boolean continueStartup,
                                   java.lang.CharSequence message)
        Creates a new startup plugin result with the provided information.
        Parameters:
        completedSuccessfully - Indicates whether the plugin successfully completed its processing.
        continueStartup - Indicates whether server startup processing should continue.
        message - An optional message providing additional information about the result of the plugin processing.
    • Method Detail

      • completedSuccessfully

        public boolean completedSuccessfully()
        Indicates whether the plugin successfully completed its processing.
        Returns:
        true if the plugin successfully completed its processing, or false if not.
      • continueStartup

        public boolean continueStartup()
        Indicates whether the server startup process should continue.
        Returns:
        true if the server startup process should continue, or false if not.
      • getMessage

        public java.lang.String getMessage()
        Retrieves a message with additional information about the processing performed by this plugin, if available.
        Returns:
        A message with additional information about the processing performed by this plugin, or null if none is available.
      • toString

        public java.lang.String toString()
        Retrieves a string representation of this startup plugin result.
        Overrides:
        toString in class java.lang.Object
        Returns:
        A string representation of this startup plugin result.