package com.perforce.spark.browse;
import java.nio.file.Path;
public class Breadcrumb {
private final Path crumb;
private final String link;
private final boolean home;
public Breadcrumb(Path crumb, String link, boolean home) {
this.crumb = crumb;
this.link = link;
this.home = home;
}
public String getCrumb() {
return crumb.toString();
}
public String getLink() {
return link;
}
public boolean isHome() {
return home;
}
public String toString() {
return getCrumb() + " (" + getLink() + ")";
}
}
# |
Change |
User |
Description |
Committed |
|
#1
|
14226 |
Paul Allen |
Tidy up Browse elements over to micro MVC model |
|
|