Class DocumentMessage.Builder
- java.lang.Object
-
- org.nuxeo.importer.stream.message.DocumentMessage.Builder
-
- Enclosing class:
- DocumentMessage
public static class DocumentMessage.Builder extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Blob
blob
protected BlobInfo
blobInfo
protected String
name
protected String
parentPath
protected Map<String,Serializable>
properties
protected String
type
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
setProperties
public DocumentMessage.Builder setProperties(HashMap<String,Serializable> properties)
-
setBlob
public DocumentMessage.Builder setBlob(Blob blob)
-
setBlobInfo
public DocumentMessage.Builder setBlobInfo(BlobInfo blobInfo)
-
getName
public String getName()
-
getParentPath
public String getParentPath()
-
getType
public String getType()
-
setName
public void setName(String name)
-
setParentPath
public void setParentPath(String parentPath)
-
setType
public void setType(String type)
-
getProperties
public Map<String,Serializable> getProperties()
-
build
public DocumentMessage build()
-
-