Class UpdatePropertiesProcess

java.lang.Object
com.jalios.jcms.backgroundprocess.BackgroundProcess
com.jalios.jcms.handler.UpdatePropertiesProcess
All Implemented Interfaces:
JcmsConstants, JaliosConstants

public class UpdatePropertiesProcess extends BackgroundProcess
Background process suitable to update properties in any handler
Since:
jcms-10.0.8 JCMS-9179
  • Constructor Details

    • UpdatePropertiesProcess

      public UpdatePropertiesProcess()
      Since:
      jcms-10.0.8 JCMS-9179
  • Method Details

    • runProcess

      protected void runProcess()
      Description copied from class: BackgroundProcess
      Override to implement the process.
      Specified by:
      runProcess in class BackgroundProcess
      Since:
      jcms-10.0.8 JCMS-9179
    • getLabelProp

      public String getLabelProp()
      Description copied from class: BackgroundProcess
      Retrieve the I18N property key to use to provide the I18Ned label of this BackgroundProcess to the user.
      Overrides:
      getLabelProp in class BackgroundProcess
      Returns:
      a property
      Since:
      jcms-10.0.8 JCMS-9179
    • getProps

      public JProperties getProps()
      Returns:
      properties
      Since:
      jcms-10.0.8 JCMS-9179
    • setProps

      public void setProps(JProperties props)
      Parameters:
      props - properties
      Since:
      jcms-10.0.8 JCMS-9179
    • isInvalidateJsCache

      public boolean isInvalidateJsCache()
      Returns:
      invalidateJsCache
      Since:
      jcms-10.0.8 JCMS-9179
    • setInvalidateJsCache

      public void setInvalidateJsCache(boolean invalidateJsCache)
      Parameters:
      invalidateJsCache - invalidateJsCache to set
      Since:
      jcms-10.0.8 JCMS-9179
    • isRestartNeeded

      public boolean isRestartNeeded()
      Returns:
      restartNeeded
      Since:
      jcms-10.0.8 JCMS-9179
    • setRestartNeeded

      public void setRestartNeeded(boolean restartNeeded)
      Parameters:
      restartNeeded - restartNeeded to set
      Since:
      jcms-10.0.8 JCMS-9179
    • toString

      public String toString()
      Overrides:
      toString in class BackgroundProcess
      Since:
      jcms-10.0.8 JCMS-9179