diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-09-09 17:53:59 +0300 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2019-09-09 23:56:05 +0300 |
commit | 849d025d093d1c80d3820901d20bf6a664c6af02 (patch) | |
tree | 5abb7efdee81ac197dac61dd860f6b4c8becaf51 /lib/public/WorkflowEngine/IManager.php | |
parent | 4cd931fcc6bb7f794fd14ddb75c7867823449e79 (diff) |
let a dedicate service serve a stateful process
* includes making ICheck not requiring any context setter
* and IFileCheck extending the IEntityCheck as entity data can be handed in
via Dispatcher
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/public/WorkflowEngine/IManager.php')
-rw-r--r-- | lib/public/WorkflowEngine/IManager.php | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/lib/public/WorkflowEngine/IManager.php b/lib/public/WorkflowEngine/IManager.php index 8be47d961e7..78fd718ec9e 100644 --- a/lib/public/WorkflowEngine/IManager.php +++ b/lib/public/WorkflowEngine/IManager.php @@ -23,9 +23,6 @@ namespace OCP\WorkflowEngine; - -use OCP\Files\Storage\IStorage; - /** * Interface IManager * @@ -42,21 +39,6 @@ interface IManager { const EVENT_NAME_REG_CHECK = 'OCP\WorkflowEngine::registerChecks'; /** - * @param IStorage $storage - * @param string $path - * @since 9.1 - */ - public function setFileInfo(IStorage $storage, $path); - - /** - * @param string $class - * @param bool $returnFirstMatchingOperationOnly - * @return array - * @since 9.1 - */ - public function getMatchingOperations($class, $returnFirstMatchingOperationOnly = true); - - /** * Listen to `\OCP\WorkflowEngine::EVENT_NAME_REG_ENTITY` at the * EventDispatcher for registering your entities. * @@ -79,4 +61,9 @@ interface IManager { * @since 18.0.0 */ public function registerCheck(ICheck $check): void; + + /** + * @since 18.0.0 + */ + public function getRuleMatcher(): IRuleMatcher; } |