JBoss.orgCommunity Documentation

PopupReminderPeriodJob

You must use the following target component to use the plugin in this configuration:



<target-component>org.exoplatform.services.scheduler.JobSchedulerService</target-component>

The configuration is applied in extension/webapp/src/main/webapp/WEB-INF/cs-extension/cs/cs-configuration.xml.



<component-plugin>
  <name>PopupRecordsJob</name>
  <set-method>addPeriodJob</set-method>
  <type>org.exoplatform.calendar.service.PopupReminderPeriodJob</type>
  <description>add popup reminder job to the JobSchedulerService</description>
  <init-params>
    <properties-param>
      <name>job.info</name>
      <description>save the monitor data periodically</description>
      <property name="jobName" value="PopupReminderJob"/>
      <property name="groupName" value="CollaborationSuite"/>
      <property name="job" value="org.exoplatform.calendar.service.PopupReminderJob"/>
      <property name="repeatCount" value="0"/>
      <property name="period" value="6000"/>
      <property name="startTime" value="+0"/>
      <property name="endTime" value=""/>
    </properties-param>
    <properties-param>
      <name>popupreminder.info</name>
      <description>save the monitor data periodically</description>
      <property name="portalName" value="portal"/>
    </properties-param>
  </init-params>
</component-plugin>

Details:

See details about the init-params of the component in the following table:

Properties-paramDescriptionProperty namesDescriptionPossible valuesDefault values
job.info Save the monitor data periodically. jobName The name of job. String PopupReminderJob
groupName The name of group job. String CollaborationSuite
job The name of actual job class. Class path org.exoplatform.calendar.service.PopupReminderJob
repeatCount How many times to run this job. Long 0, ( use '0' which means 'run forever)
period The time interval (millisecond) between job executions. Long 6000
startTime The time when the job starts running. Long +0
endTime The time when the job ends running. Integer None
popupreminder.info Save the monitor data periodically. portalName The name of the portal. String portal