You are here

interface ResultSetPluginInterface in Webform Scheduled Tasks 8.2

An interface for result set plugins.

Hierarchy

Expanded class hierarchy of ResultSetPluginInterface

All classes that implement ResultSetPluginInterface

2 files declare their use of ResultSetPluginInterface
TaskRunnerTest.php in tests/src/Unit/TaskRunnerTest.php
WebformScheduledResultSetManager.php in src/WebformScheduledResultSetManager.php

File

src/Plugin/WebformScheduledTasks/ResultSetPluginInterface.php, line 13

Namespace

Drupal\webform_scheduled_tasks\Plugin\WebformScheduledTasks
View source
interface ResultSetPluginInterface extends PluginInspectionInterface, PluginFormInterface, ConfigurableInterface, DependentPluginInterface, ScheduledTaskNotifyInterface, ScheduledTaskAwarePluginInterface {

  /**
   * Get an iterator for a set of results matching the conditions of the plugin.
   *
   * @return \Iterator
   *   An iterator for all results that match the conditions of the plugin.
   */
  public function getResultSet();

  /**
   * Get the label of the result plugin.
   *
   * @return string
   *   The label of the task.
   */
  public function label();

}

Members

Namesort descending Modifiers Type Description Overrides
ConfigurableInterface::defaultConfiguration public function Gets default configuration for this plugin. 11
ConfigurableInterface::getConfiguration public function Gets this plugin's configuration. 12
ConfigurableInterface::setConfiguration public function Sets the configuration for this plugin instance. 12
DependentPluginInterface::calculateDependencies public function Calculates dependencies for the configured plugin. 19
PluginFormInterface::buildConfigurationForm public function Form constructor. 36
PluginFormInterface::submitConfigurationForm public function Form submission handler. 32
PluginFormInterface::validateConfigurationForm public function Form validation handler. 18
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation. 4
PluginInspectionInterface::getPluginId public function Gets the plugin_id of the plugin instance. 2
ResultSetPluginInterface::getResultSet public function Get an iterator for a set of results matching the conditions of the plugin. 3
ResultSetPluginInterface::label public function Get the label of the result plugin. 1
ScheduledTaskAwarePluginInterface::getScheduledTask public function Get the scheduled task. 2
ScheduledTaskAwarePluginInterface::setScheduledTask public function Set the scheduled task as context for this plugin. 2
ScheduledTaskNotifyInterface::onFailure public function Called when a task fails. 2
ScheduledTaskNotifyInterface::onSuccess public function Called when a task is successful. 2