Class ApplicationPrepareResult


  • public class ApplicationPrepareResult
    extends Object
    Result object for the application launch validity check.
    • Constructor Detail

      • ApplicationPrepareResult

        public ApplicationPrepareResult​(IApplication application)
        Creates an instance of ApplicationPrepareResult.
        Parameters:
        application - an existing application, cannot be null
    • Method Detail

      • isEmpty

        public boolean isEmpty()
        Returns whether the result is empty and contains no application.
        Returns:
        whether the result is empty and contains no application
      • getApplication

        public Optional<IApplication> getApplication()
        Returns the result application.
        Returns:
        the result application
      • getUrlAccess

        public Optional<IUrlAccess> getUrlAccess()
        Returns the result application URL aceess.
        Returns:
        the result application URL aceess
      • setUrlAccess

        public void setUrlAccess​(IUrlAccess urlAccess)
        Sets the result application URL access.
        Parameters:
        the - result application URL access, cannot be null
      • getDebugUrl

        public Optional<URL> getDebugUrl()
        Returns the result application debug URL.
        Returns:
        the result application debug URL
      • setDebugUrl

        public void setDebugUrl​(URL debugUrl)
        Sets the result application debug URL.
        Parameters:
        the - result debug URL, cannot be null