public class SWORDServiceDocumentBuilder extends Object
| Constructor and Description |
|---|
SWORDServiceDocumentBuilder(org.apache.abdera.Abdera abdera,
org.slf4j.Logger log)
Create a new builder
|
| Modifier and Type | Method and Description |
|---|---|
SWORDServiceDocumentBuilder |
maxUploadSize(Integer swordMaxUploadSizeKb)
Set the maxUploadSize parameter
|
org.apache.abdera.model.Service |
serviceDocument()
Build and return the service document containing the configured parameters and detected workspaces
|
SWORDServiceDocumentBuilder |
workspacesContainer(org.fcrepo.kernel.api.models.Container workspaces)
Set the Fedora container resource containing the SWORD workspace nodes
|
public SWORDServiceDocumentBuilder(org.apache.abdera.Abdera abdera, org.slf4j.Logger log)
abdera - Abdera implementation to uselog - Logger implementation to use. If none is given, a default logger for this class is used.public SWORDServiceDocumentBuilder maxUploadSize(Integer swordMaxUploadSizeKb)
swordMaxUploadSizeKb - Maximum size of uploads in kilobytespublic SWORDServiceDocumentBuilder workspacesContainer(org.fcrepo.kernel.api.models.Container workspaces)
workspaces - Container with workspace nodespublic org.apache.abdera.model.Service serviceDocument()
Copyright © 2013–2015 DuraSpace, Inc.. All rights reserved.