Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ActionHandler/ActionHandlerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

interface ActionHandlerInterface
{
public function getConditions();

public function getListens();

public function getConfiguration();

public function run(array $data, array $configuration);
Expand Down
12 changes: 12 additions & 0 deletions ActionHandler/RequestCollectionHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@ public function __construct(RequestService $requestService)
$this->requestService = $requestService;
}

public function getConditions()
{
return ['==' => [1, 1]];
}

public function getListens()
{
return [
'none',
];
}

/**
* This function returns the required configuration as a [json-schema](https://json-schema.org/) array.
*
Expand Down
12 changes: 12 additions & 0 deletions ActionHandler/RequestItemHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@ public function __construct(RequestService $requestService)
$this->requestService = $requestService;
}

public function getConditions()
{
return ['==' => [1, 1]];
}

public function getListens()
{
return [
'none',
];
}

/**
* This function returns the required configuration as a [json-schema](https://json-schema.org/) array.
*
Expand Down
12 changes: 12 additions & 0 deletions ActionHandler/RequestSearchHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@ public function __construct(RequestService $requestService)
$this->requestService = $requestService;
}

public function getConditions()
{
return ['==' => [1, 1]];
}

public function getListens()
{
return [
'none',
];
}

/**
* This function returns the required configuration as a [json-schema](https://json-schema.org/) array.
*
Expand Down