Interface ResourceTaskFlavor<T>

Type Parameters:
T - The optional configuration parameter, instance of which can be used to customize the work definition.
All Superinterfaces:
Serializable
All Known Implementing Classes:
ResourceTaskFlavors, SynchronizationTaskFlavor

public interface ResourceTaskFlavor<T> extends Serializable
Factory of work definitions which contains definition of set of resource objects.
  • Method Details

    • createWorkDefinitions

      WorkDefinitionsType createWorkDefinitions(@Nullable @Nullable ResourceObjectSetType resourceObjectSet, @Nullable T configuration)
      Create particular work definition which relies on defined set of resource objects. What type of work definition will be created is decided by the interface implementations.
      Parameters:
      resourceObjectSet - The set of resource objects, which should be processed by the activity.
      configuration - The optional configuration to be used to customize work definition.
      Returns:
      The new work definition configured in work definitions type.
    • flavorName

      String flavorName()
      Returns:
      The name of the task flavor.