Class PsaRstApiPrcEvt

java.lang.Object
de.pisa.psa.rst.job.PsaRstApiPrcEvt

public class PsaRstApiPrcEvt extends Object
REST API job: process scheduled events
Since:
31.07.2023
Author:
weiland
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final de.pisa.psa.dto.psa_scn.JobLog
    logger
    protected final de.pisa.psa.dto.UsxPar
    job parameter
    protected final de.pisa.psc.srv.glb.PscSsn
    session
  • Constructor Summary

    Constructors
    Constructor
    Description
    PsaRstApiPrcEvt(de.pisa.psc.srv.glb.PscSsn ssn, String par)
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    process an event
    void
    run()
    run the job
    static void
    run(de.pisa.psc.srv.glb.PscSsn ssn, String par)
    run the job

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • Ssn

      protected final de.pisa.psc.srv.glb.PscSsn Ssn
      session
    • Par

      protected final de.pisa.psa.dto.UsxPar Par
      job parameter
    • Log

      protected final de.pisa.psa.dto.psa_scn.JobLog Log
      logger
  • Constructor Details

    • PsaRstApiPrcEvt

      public PsaRstApiPrcEvt(de.pisa.psc.srv.glb.PscSsn ssn, String par)
      Constructor
      Parameters:
      ssn - session
      par - job parameter
  • Method Details

    • run

      @JobMethod public static void run(de.pisa.psc.srv.glb.PscSsn ssn, String par) throws Exception
      run the job
      Parameters:
      ssn - session
      par -
      Throws:
      Exception
    • run

      public void run() throws Exception
      run the job
      Throws:
      Exception
    • processEvent

      protected void processEvent(PsaRstApiEvtHdlDat data) throws de.pisa.psc.srv.glb.PscExc
      process an event
      Parameters:
      data - event data
      Throws:
      de.pisa.psc.srv.glb.PscExc