public interface AutomationServer
The binding registry is synchronized.
Modifier and Type | Method and Description |
---|---|
boolean |
accept(String name,
boolean isChain,
HttpServletRequest req)
Checks if the given operation name is allowed in a REST call.
|
void |
addBinding(RestBinding binding)
Registers a new operation binding.
|
RestBinding[] |
getBindings()
Gets an array of registered bindings.
|
RestBinding |
getChainBinding(String name)
Gets a binding given a chain name.
|
RestBinding |
getOperationBinding(String name)
Gets a binding given an operation.
|
RestBinding |
removeBinding(RestBinding binding)
Removes a binding for the given operation name.
|
RestBinding getOperationBinding(String name)
name
- the operation name.RestBinding getChainBinding(String name)
name
- the chain nameRestBinding[] getBindings()
void addBinding(RestBinding binding)
binding
- the new binding to registerRestBinding removeBinding(RestBinding binding)
binding
- the binding to removeboolean accept(String name, boolean isChain, HttpServletRequest req)
Copyright © 2011 Nuxeo SA. All Rights Reserved.