Class PsaRstApiClnEvt

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

public class PsaRstApiClnEvt extends Object
REST API job: clean up 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
    PsaRstApiClnEvt(de.pisa.psc.srv.glb.PscSsn ssn, String par)
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    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

    • PsaRstApiClnEvt

      public PsaRstApiClnEvt(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 - DON:=[y|n] DAYS:=[days]
      Throws:
      Exception
    • run

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