public static class HandoverInfo.Builder extends Object
| Constructor and Description |
|---|
HandoverInfo.Builder() |
| Modifier and Type | Method and Description |
|---|---|
HandoverInfo |
createHandoverInfo() |
HandoverInfo.Builder |
setAction(String action) |
HandoverInfo.Builder |
setContent(InputStream content) |
HandoverInfo.Builder |
setFilename(String filename) |
HandoverInfo.Builder |
setParams(Map<String,String> params) |
HandoverInfo.Builder |
setRevert(boolean revert) |
public HandoverInfo.Builder setContent(InputStream content)
content - an InputStream for reading the content to be handed overpublic HandoverInfo.Builder setFilename(String filename)
filename - name of the contentpublic HandoverInfo.Builder setAction(String action)
action - the action required by the bundle recipepublic HandoverInfo.Builder setParams(Map<String,String> params)
params - the collection of named parameters supplied by the bundle recipepublic HandoverInfo.Builder setRevert(boolean revert)
revert - flag indicating if the bundle deployment is reverting a versionpublic HandoverInfo createHandoverInfo()
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.