Package org.nuxeo.ecm.automation.server
Interface AutomationServer
- All Known Implementing Classes:
AutomationServerComponent
public interface AutomationServer
A registry of REST bindings. Provides methods for checking if a given operation is allowed to be invoked in a REST
call.
The binding registry is synchronized.
- Author:
- Bogdan Stefanescu
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks if the given operation name is allowed in a REST call.Gets an array of registered bindings.getChainBinding
(String name) Gets a binding given a chain name.getOperationBinding
(String name) Gets a binding given an operation.Returns all the registered writers
-
Method Details
-
getOperationBinding
Gets a binding given an operation.- Parameters:
name
- the operation name.
-
getChainBinding
Gets a binding given a chain name.- Parameters:
name
- the chain name
-
getBindings
RestBinding[] getBindings()Gets an array of registered bindings. -
accept
Checks if the given operation name is allowed in a REST call. -
getWriters
Returns all the registered writers- Since:
- 5.8
-
getReaders
- Returns:
- all the registered readers
- Since:
- 5.8
-