Interface IRefinedTriggerDataDescriptor<Model>

    • Method Detail

      • getTriggerDataDescriptor

        default IValueDescriptor<?,​? extends IValueBuilder<?>> getTriggerDataDescriptor​(IValueDescriptorFactory factory,
                                                                                              Model data)
        Same as getTriggerDataDescriptor without data, but refined depending on the current trigger's configuration.

        Creates the value descriptor for the data that is made available to the workflow when a task with this trigger starts.

        Parameters:
        factory - Factory that may be used for creating the descriptor. Instead of the factory passed in to this method, you may also use ValueDescriptorFactory.getInstance() if you wish to cache the descriptor in a static or instance field.
        Returns:
        The value descriptor for the data that is made available to the workflow when a task with this trigger is executed. If null, the non-refined descriptor is used.
        See Also:
        ITriggerHandler.onTaskBegin(ITriggerOnTaskBeginParams)
      • getTriggerFilesDescriptor

        default IFileValueDescriptor getTriggerFilesDescriptor​(Model data)
        Same as getTriggerFilesDescriptor without data, but refined depending on the current trigger's configuration.

        Creates the files descriptor for the files that are made available to the workflow when a task with this trigger starts.

        Returns:
        The files descriptor for the files that are made available to the workflow when a task with this trigger is executed. If null, the non-refined descriptor is used.
        See Also:
        ITriggerHandler.onTaskBegin(ITriggerOnTaskBeginParams)