Class SwitchModuleData


  • public class SwitchModuleData
    extends Object
    模块间切换需要的参数
    Author:
    admin
    • Field Detail

      • oldCode

        public String oldCode
    • Constructor Detail

      • SwitchModuleData

        public SwitchModuleData​(String code,
                                String hash)
        Instantiates a new Switch module data.
        Parameters:
        code - the code
        hash - the hash
    • Method Detail

      • getModuleCode

        public String getModuleCode()
        Gets module code.
        Returns:
        the module code
      • getHash

        public String getHash()
        Gets hash.
        Returns:
        the hash
      • getParameters

        public ModuleParameter getParameters()
        Gets parameters.
        Returns:
        the parameters
      • setParameters

        public void setParameters​(ModuleParameter ps)
        设置模块参数.
        Parameters:
        ps - the ps
      • put

        public SwitchModuleData put​(String key,
                                    Object value)
        Put switch module data.
        Parameters:
        key - the key
        value - the value
        Returns:
        the switch module data
      • getSaveToHistory

        public Boolean getSaveToHistory()
      • setSaveToHistory

        public void setSaveToHistory​(Boolean saveToHistory)