Interface ReportingLogicCopyTask

All Known Implementing Classes:
OutputTemplateCopyTask, ReportCopyTask

public interface ReportingLogicCopyTask
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    checks if this task works on some entity
    runCopy(Entity source, Set<String> activeTasks)
    copy the source with some configs
  • Method Details

    • isRelevantForEntity

      boolean isRelevantForEntity(Entity source)
      checks if this task works on some entity
      Parameters:
      source - the entity to check against
      Returns:
      true if task can run with passed entity
    • runCopy

      Entity runCopy(Entity source, Set<String> activeTasks)
      copy the source with some configs
      Parameters:
      source - the entity to copy
      activeTasks - all tasks that were marked as active
      Returns:
      the copied entity