org.pushingpixels.flamingo.api.bcb.core
public static class BreadcrumbSvnSelector.PathCallback extends BreadcrumbBarCallBack<String>
BreadcrumbBarCallBack
.throwsExceptions
Constructor and Description |
---|
BreadcrumbSvnSelector.PathCallback(String url,
String userName,
String password)
Creates a new callback.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
getLeafContent(String leaf)
Returns the input stream with the leaf content.
|
List<StringValuePair<String>> |
getLeafs(List<BreadcrumbItem<String>> path)
Returns the choice element that corresponds to the specified path.
|
List<StringValuePair<String>> |
getPathChoices(List<BreadcrumbItem<String>> path)
Returns the choice element that corresponds to the specified path.
|
void |
setup()
Sets up the callback.
|
setThrowsExceptions
public void setup() throws BreadcrumbBarException
BreadcrumbBarCallBack
setup
in class BreadcrumbBarCallBack<String>
BreadcrumbBarException
- Runtime exception that wraps the cause. Is thrown only when
BreadcrumbBarCallBack.setThrowsExceptions(boolean)
has been called with
true
parameter.public List<StringValuePair<String>> getPathChoices(List<BreadcrumbItem<String>> path) throws BreadcrumbBarException
BreadcrumbBarCallBack
null
should be returned. If path is
null
, the "root" elements should be returnedgetPathChoices
in class BreadcrumbBarCallBack<String>
path
- Breadcrumb bar path.BreadcrumbBarException
- Runtime exception that wraps the cause. Is thrown only when
BreadcrumbBarCallBack.setThrowsExceptions(boolean)
has been called with
true
parameter.public List<StringValuePair<String>> getLeafs(List<BreadcrumbItem<String>> path) throws BreadcrumbBarException
BreadcrumbBarCallBack
null
should be returned. If path is
null
, the "root" elements should be returnedgetLeafs
in class BreadcrumbBarCallBack<String>
path
- Breadcrumb bar path.BreadcrumbBarException
- Runtime exception that wraps the cause. Is thrown only when
BreadcrumbBarCallBack.setThrowsExceptions(boolean)
has been called with
true
parameter.public InputStream getLeafContent(String leaf) throws BreadcrumbBarException
BreadcrumbBarCallBack
null
if this is not applicable.getLeafContent
in class BreadcrumbBarCallBack<String>
leaf
- Leaf.null
if
this is not applicable.BreadcrumbBarException
- Runtime exception that wraps the cause. Is thrown only when
BreadcrumbBarCallBack.setThrowsExceptions(boolean)
has been called with
true
parameter.