psdi.app.recontask.engine

Class ReconCronTask

  • All Implemented Interfaces:
    CronTask


    public class ReconCronTask
    extends SimpleCronTask
    A MAXIMO crontask used for reconciling IT assets and IT deployed assets
    • Field Detail

      • AUTOCOMMIT_LIMIT

        public static final int AUTOCOMMIT_LIMIT
        automatically commit after this number of delete or insert statements have been sent to the DB
        See Also:
        Constant Field Values
    • Constructor Detail

      • ReconCronTask

        public ReconCronTask()
    • Method Detail

      • getInstanceName

        public java.lang.String getInstanceName()
        Returns the crontask instance name
      • getParameters

        public CrontaskParamInfo[] getParameters()
                                          throws MXException,
                                                 java.rmi.RemoteException
        Description copied from interface: CronTask
        This method provides an array of CrontaskParamInfo() object to describe all the parameters of the crontask. Parameter name, default values and the description of the parameter should be set to the CrontaskParamInfo object for each parameter. If default value and description is not set, null will be the values.
        Specified by:
        getParameters in interface CronTask
        Overrides:
        getParameters in class SimpleCronTask
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        CrontaskParamInfo
      • getLogMessage

        protected java.lang.String getLogMessage(java.lang.String msg)
        Parameters:
        msg -
        Returns:
        String
      • getCrontaskParameter

        protected java.lang.String getCrontaskParameter()
                                                 throws MXException,
                                                        java.rmi.RemoteException
        Read in the configuration information from mxserver.properties.
        Returns:
        ReconCronTaskParameters
        Throws:
        MXException
        java.rmi.RemoteException
      • getLogFooter

        protected java.lang.String getLogFooter(java.lang.String paramName)
        Parameters:
        paramName -
        Returns:
        String
      • getLogHeader

        protected java.lang.String getLogHeader(java.lang.String paramName)
        Parameters:
        paramName -
        Returns:
        String
      • getServerTimestamp

        protected java.lang.String getServerTimestamp()
        Retrieves the server's current timestamp as a String
        Returns:
        String The current timestamp of the server or an empty String if an error occurs