Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
10 changes: 10 additions & 0 deletions ActionHandler/RequestCollectionHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ public function __construct(RequestService $requestService)
$this->requestService = $requestService;
}

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

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

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

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

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

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

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

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

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