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 TypeMethodDescriptiondefault booleanIf method returnstruethen the initialization will create a default Job item of the given type.getType()Must return an existing subtype ofServicelayerJobModelas String.
-
Method Details
-
getType
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.
-