public class BulkCommand extends Object implements Serializable
BulkService
.Modifier and Type | Field and Description |
---|---|
protected String |
action
The bulk action to execute.
|
protected Map<String,String> |
params |
protected String |
query |
protected String |
repository |
protected String |
username
The username which run the bulk command.
|
Constructor and Description |
---|
BulkCommand() |
Modifier and Type | Method and Description |
---|---|
String |
getAction() |
String |
getParam(String key) |
Map<String,String> |
getParams() |
String |
getQuery() |
String |
getRepository() |
String |
getUsername() |
String |
toString() |
BulkCommand |
withAction(String action) |
BulkCommand |
withParam(String key,
String value) |
BulkCommand |
withParams(Map<String,String> params) |
BulkCommand |
withQuery(String query) |
BulkCommand |
withRepository(String repository) |
BulkCommand |
withUsername(String username) |
protected String repository
public BulkCommand()
public BulkCommand withUsername(String username)
public String getUsername()
public BulkCommand withRepository(String repository)
public String getRepository()
public BulkCommand withQuery(String query)
query
- the query used to get the document set concerned by the actionpublic BulkCommand withAction(String action)
public BulkCommand withParams(Map<String,String> params)
public BulkCommand withParam(String key, String value)
Copyright © 2018 Nuxeo. All rights reserved.