Class CopilotStatus

java.lang.Object
com.vaadin.copilot.CopilotStatus

public class CopilotStatus extends Object
  • Method Details

    • isEnabled

      public static boolean isEnabled(com.vaadin.flow.server.VaadinServletContext context)
      Returns whether Copilot is enabled for the given context.

      Copilot is disabled when the application runs in production mode, or when the copilot.enable property is set to false.

      Parameters:
      context - the Vaadin context
      Returns:
      true if Copilot is enabled, false otherwise