public static class BundleHandoverRequest.Builder extends Object
| Constructor and Description |
|---|
BundleHandoverRequest.Builder() |
| Modifier and Type | Method and Description |
|---|---|
BundleHandoverRequest |
createBundleHandoverRequest() |
BundleHandoverRequest.Builder |
setAction(String action) |
BundleHandoverRequest.Builder |
setContent(InputStream content) |
BundleHandoverRequest.Builder |
setContext(BundleHandoverContext context) |
BundleHandoverRequest.Builder |
setFilename(String filename) |
BundleHandoverRequest.Builder |
setParams(Map<String,String> params) |
public BundleHandoverRequest.Builder setContent(InputStream content)
content - an InputStream for reading the content handed over via the
BundleHandoverFacetpublic BundleHandoverRequest.Builder setFilename(String filename)
filename - name of the contentpublic BundleHandoverRequest.Builder setAction(String action)
action - the action required by the bundle recipepublic BundleHandoverRequest.Builder setParams(Map<String,String> params)
params - the collection of named parameters supplied by the bundle recipepublic BundleHandoverRequest.Builder setContext(BundleHandoverContext context)
context - the handover contextpublic BundleHandoverRequest createBundleHandoverRequest()
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.