public static class DocumentMessage.Builder extends Object
| Modifier and Type | Field and Description | 
|---|---|
protected Blob | 
blob  | 
protected BlobInfo | 
blobInfo  | 
protected String | 
name  | 
protected String | 
parentPath  | 
protected Map<String,Serializable> | 
properties  | 
protected String | 
type  | 
| Modifier | Constructor and Description | 
|---|---|
protected  | 
Builder(String type,
       String parentPath,
       String name)  | 
| Modifier and Type | Method and Description | 
|---|---|
DocumentMessage | 
build()  | 
String | 
getName()  | 
String | 
getParentPath()  | 
Map<String,Serializable> | 
getProperties()  | 
String | 
getType()  | 
DocumentMessage.Builder | 
setBlob(Blob blob)  | 
DocumentMessage.Builder | 
setBlobInfo(BlobInfo blobInfo)  | 
void | 
setName(String name)  | 
void | 
setParentPath(String parentPath)  | 
DocumentMessage.Builder | 
setProperties(HashMap<String,Serializable> properties)  | 
void | 
setType(String type)  | 
protected String parentPath
protected Map<String,Serializable> properties
public DocumentMessage.Builder setProperties(HashMap<String,Serializable> properties)
public DocumentMessage.Builder setBlob(Blob blob)
public DocumentMessage.Builder setBlobInfo(BlobInfo blobInfo)
public String getParentPath()
public void setParentPath(String parentPath)
public Map<String,Serializable> getProperties()
public DocumentMessage build()
Copyright © 2019 Nuxeo. All rights reserved.