Class SafeModeCommandLineArguments

java.lang.Object
com.atlassian.plugin.parsers.SafeModeCommandLineArguments

@ParametersAreNonnullByDefault @ReturnValuesAreNonnullByDefault public class SafeModeCommandLineArguments extends Object
This is used by the application this library is bundled with, it shouldn't be changed without also changing all the products it is bundled with.
  • Field Details

  • Constructor Details

    • SafeModeCommandLineArguments

      public SafeModeCommandLineArguments(String commandLineArguments)
  • Method Details

    • getDisableLastEnabledLinux

      public static String getDisableLastEnabledLinux()
    • getDisableLastEnabledWindows

      public static String getDisableLastEnabledWindows()
    • getSafeModeArguments

      public String getSafeModeArguments()
    • getDisabledPlugins

      public Optional<List<String>> getDisabledPlugins()
      Used for analytics
      Returns:
      all plugins that have been specified using the parameter --disable-addons
    • isSafeMode

      public boolean isSafeMode()
    • shouldLastEnabledBeDisabled

      public boolean shouldLastEnabledBeDisabled()
    • isDisabledByParam

      public boolean isDisabledByParam(String pluginKey)