Class CheckRunningModeRule

  • All Implemented Interfaces:
    Referenceable

    public final class CheckRunningModeRule
    extends Rule
    This Rule determines the type of running mode set by the user for a particular action group set of actions to be run under if maintenance support or upgrade is enabled. Rule criteria includes: - Whether the specified action group belongs to any of the supported maintenance group options if enabled as running modes. The options that can be as running modes : Installation, Add features, Repair Installation Uninstallation, Remove features It also supports upgrades
    Author:
    Sudeep
    • Constructor Detail

      • CheckRunningModeRule

        public CheckRunningModeRule()
    • Method Detail

      • getRunningMode

        public short getRunningMode()
        The running mode for the Rule. Set it to 0 for MODE_INSTALLATION, 1 for Add Features, 2 for Remove Features, 3 for Repair Installation, 4 for Uninstallation, 99 for upgrades
      • setRunningMode

        public void setRunningMode​(short RunningMode)
        The running mode for the Rule. Set it to 0 for MODE_INSTALLATION, 1 for Add Features, 2 for Remove Features, 3 for Repair Installation, 4 for Uninstallation, 99 for upgrades