Interface TypeAwareJobPerformable
-
- All Known Implementing Classes:
AbstractMaintenanceJobPerformable,CleanUpProcessTaskLogPerformable,DynamicMaintenanceJobPerformable,GenericMaintenanceJobPerformable,Y2YSyncMasterJobPerformable
public interface TypeAwareJobPerformableInterface for setup a certain subtype ofServicelayerJobModel. During creation essential data for the cronjob extension for eachJobPerformablebean aServicelayerJobModelinstance (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 ofServicelayerJobModelca be define which uses a more specified business logic.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default booleancreateDefaultJob()If method returnstruethen the initialization will create a default Job item of the given type.java.lang.StringgetType()Must return an existing subtype ofServicelayerJobModelas String.
-
-
-
Method Detail
-
getType
java.lang.String getType()
Must return an existing subtype ofServicelayerJobModelas String.
-
createDefaultJob
default boolean createDefaultJob()
If method returnstruethen the initialization will create a default Job item of the given type. If your specific Job type requires specific parameters you have to returnfalse.
-
-