|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pushingpixels.flamingo.api.bcb.BreadcrumbBarCallBack<java.lang.String>
org.pushingpixels.flamingo.api.bcb.core.BreadcrumbSvnSelector.PathCallback
public static class BreadcrumbSvnSelector.PathCallback
SVN-specific implementation of the BreadcrumbBarCallBack
.
Field Summary |
---|
Fields inherited from class org.pushingpixels.flamingo.api.bcb.BreadcrumbBarCallBack |
---|
throwsExceptions |
Constructor Summary | |
---|---|
BreadcrumbSvnSelector.PathCallback(java.lang.String url,
java.lang.String userName,
java.lang.String password)
Creates a new callback. |
Method Summary | |
---|---|
java.io.InputStream |
getLeafContent(java.lang.String leaf)
Returns the input stream with the leaf content. |
java.util.List<StringValuePair<java.lang.String>> |
getLeafs(java.util.List<BreadcrumbItem<java.lang.String>> path)
Returns the choice element that corresponds to the specified path. |
java.util.List<StringValuePair<java.lang.String>> |
getPathChoices(java.util.List<BreadcrumbItem<java.lang.String>> path)
Returns the choice element that corresponds to the specified path. |
void |
setup()
Sets up the callback. |
Methods inherited from class org.pushingpixels.flamingo.api.bcb.BreadcrumbBarCallBack |
---|
setThrowsExceptions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BreadcrumbSvnSelector.PathCallback(java.lang.String url, java.lang.String userName, java.lang.String password)
url
- Repository URL.userName
- User name.password
- Password.Method Detail |
---|
public void setup() throws BreadcrumbBarException
BreadcrumbBarCallBack
setup
in class BreadcrumbBarCallBack<java.lang.String>
BreadcrumbBarException
- Runtime exception that wraps the cause. Is thrown only when
BreadcrumbBarCallBack.setThrowsExceptions(boolean)
has been called with
true
parameter.public java.util.List<StringValuePair<java.lang.String>> getPathChoices(java.util.List<BreadcrumbItem<java.lang.String>> path) throws BreadcrumbBarException
BreadcrumbBarCallBack
null
should be returned. If path is
null
, the "root" elements should be returned
getPathChoices
in class BreadcrumbBarCallBack<java.lang.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 java.util.List<StringValuePair<java.lang.String>> getLeafs(java.util.List<BreadcrumbItem<java.lang.String>> path) throws BreadcrumbBarException
BreadcrumbBarCallBack
null
should be returned. If path is
null
, the "root" elements should be returned
getLeafs
in class BreadcrumbBarCallBack<java.lang.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 java.io.InputStream getLeafContent(java.lang.String leaf) throws BreadcrumbBarException
BreadcrumbBarCallBack
null
if this is not applicable.
getLeafContent
in class BreadcrumbBarCallBack<java.lang.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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |