public class OperationResource extends ExecutableResource
Modifier and Type | Field and Description |
---|---|
protected OperationType |
type |
request, service
Constructor and Description |
---|
OperationResource(AutomationService service,
OperationType type) |
Modifier and Type | Method and Description |
---|---|
Object |
doGet() |
Object |
doGetYaml() |
protected static String |
entityType(Class<?> clazz) |
Object |
execute(ExecutionRequest xreq) |
String |
getId() |
boolean |
isChain() |
doPost, getCoreSession
protected OperationType type
public OperationResource(AutomationService service, OperationType type)
public Object doGet() throws OperationException
OperationException
public Object doGetYaml() throws OperationException
OperationException
public Object execute(ExecutionRequest xreq) throws OperationException
execute
in class ExecutableResource
OperationException
protected static String entityType(Class<?> clazz)
public String getId()
getId
in class ExecutableResource
public boolean isChain()
isChain
in class ExecutableResource
Copyright © 2015 Nuxeo SA. All rights reserved.