Interface TypeAwareJobPerformable

All Known Implementing Classes:
AbstractMaintenanceJobPerformable, CleanUpProcessTaskLogPerformable, DynamicMaintenanceJobPerformable, GenericMaintenanceJobPerformable, Y2YSyncMasterJobPerformable

public interface TypeAwareJobPerformable
Interface for setup a certain subtype of ServicelayerJobModel.

During creation essential data for the cronjob extension for each JobPerformable bean a ServicelayerJobModel instance (attribute code and springId is set to the bean id of the jobperformable) is created. By implementing this interface to the JobPerformable class a subtype of ServicelayerJobModel ca be define which uses a more specified business logic.

  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    If method returns true then the initialization will create a default Job item of the given type.
    Must return an existing subtype of ServicelayerJobModel as String.
  • Method Details

    • getType

      String getType()
      Must return an existing subtype of ServicelayerJobModel as String.
    • createDefaultJob

      default boolean createDefaultJob()
      If method returns true then the initialization will create a default Job item of the given type. If your specific Job type requires specific parameters you have to return false.