Interface IPlaceholderProviderAsync

All Superinterfaces:
IPlaceholderProvider, Serializable
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface IPlaceholderProviderAsync extends IPlaceholderProvider
Common interface for asynchronous placeholder provider. Each provider makes a certain set of placeholders available, such as a list of workflow-specific system placeholders. Async providers may perform asynchronous operations such as starting another thread.
Since:
8.4.0
Author:
XIMA MEDIA GmbH
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Starts the asynchronous provide process.
  • Method Details

    • startProvide

      boolean startProvide()
      Starts the asynchronous provide process. Implementations may perform asynchronous operations such as starting another thread. When the placeholders are ready, methods such as IPlaceholderLibrary.addAll(Map) should be used to make the placeholders available.
      Returns:
      true if the async provide process was triggered successfully, false otherwise.