public class Operation extends ConnectableEntity<OperationAPI,Operation>
| Modifier and Type | Field and Description |
|---|---|
protected OperationBody |
body |
static String |
INPUT_PART |
static String |
INPUT_PARTS |
protected String |
operationId |
entityTypeapi, apiClass, nuxeoClientheaderInterceptors, headerValues, okhttpBuilder, retrofit, retrofitBuilder| Modifier | Constructor and Description |
|---|---|
protected |
Operation()
For deserialization purpose
|
|
Operation(NuxeoClient nuxeoClient,
String operationId) |
| Modifier and Type | Method and Description |
|---|---|
Operation |
context(Map<String,Object> context) |
Operation |
context(String key,
Object contextValue) |
static okhttp3.RequestBody |
create(Blob blob)
Deprecated.
since 3.1, use
Requests.create(Blob) instead |
<T> T |
execute()
Operation Execution Methods Sync
|
void |
execute(retrofit2.Callback<?> callback) |
OperationBody |
getBody() |
protected retrofit2.Call<Object> |
getCallToExecute() |
String |
getOperationId() |
Operation |
input(Object input) |
Operation |
param(String key,
Object parameter) |
Operation |
parameters(Map<String,Object> parameters) |
Operation |
voidOperation(boolean value)
Specific configuration *
|
getEntityTypebuildRetrofit, fetchResponse, fetchResponse, reconnectWithconnectTimeout, depth, enrichers, enrichers, enrichersForDocument, fetchProperties, fetchProperties, fetchPropertiesForDocument, fetchPropertiesForGroup, header, header, header, header, header, header, header, readTimeout, replaceWith, schemas, schemas, timeout, transactionTimeout, versionpublic static final String INPUT_PART
public static final String INPUT_PARTS
protected OperationBody body
protected String operationId
protected Operation()
public Operation(NuxeoClient nuxeoClient, String operationId)
public OperationBody getBody()
public String getOperationId()
public <T> T execute()
public void execute(retrofit2.Callback<?> callback)
protected retrofit2.Call<Object> getCallToExecute()
@Deprecated public static okhttp3.RequestBody create(Blob blob)
Requests.create(Blob) insteadInputStream.public Operation voidOperation(boolean value)
Copyright © 2018 Nuxeo. All rights reserved.