Schnittstelle JobHandler

Alle bekannten Implementierungsklassen:
JobHandlerRebuildIndex, JobHandlerRenameUser, JobHandlerUpgradeWorkitems

public interface JobHandler
  • Feldübersicht

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
    static final String
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    Called by the AdminPService.
  • Felddetails

  • Methodendetails

    • run

      Called by the AdminPService. The JobHandler returns the job description with pre defined fields to signal the status. The AdminPService will terminate the job in cases the job is complete. Otherwise the AdminPServcie will wait for the next timeout.

      Fields:

      • type - fixed to value 'adminp'
      • job - the job type/name, defined by handler
      • $WorkflowStatus - status controlled by AdminP Service
      • $WorkflowSummary - summary of job description
      • isCompleted - boolean indicates if job is completed - controlled by job handler
      The AdminPService will not call the JobHandler if the job description field 'isCompleted==true' A JobHandler may throw a AdminPException if something went wrong.
      Parameter:
      job - description
      Gibt zurück:
      updated job description
      Löst aus:
      AdminPException