Package org.opennms.web.navigate
Class FileBasedNavBarEntry
- java.lang.Object
-
- org.opennms.web.navigate.LocationBasedNavBarEntry
-
- org.opennms.web.navigate.FileBasedNavBarEntry
-
- All Implemented Interfaces:
NavBarEntry
public class FileBasedNavBarEntry extends LocationBasedNavBarEntry
FileBasedNavBarEntry class.
- Since:
- 1.8.1
- Version:
- $Id: $
- Author:
- ranger
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opennms.web.navigate.NavBarEntry
NavBarEntry.NavBarContext
-
-
Constructor Summary
Constructors Constructor Description FileBasedNavBarEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DisplayStatus
evaluate(MenuContext context)
java.io.File
getFile()
getFilevoid
setFile(java.io.File file)
setFile-
Methods inherited from class org.opennms.web.navigate.LocationBasedNavBarEntry
getDisplayString, getEntries, getLocationMatch, getName, getUrl, hasEntries, isLinkMatches, setEntries, setLocationMatch, setName, setUrl
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opennms.web.navigate.NavBarEntry
evaluate
-
-
-
-
Method Detail
-
evaluate
public DisplayStatus evaluate(MenuContext context)
- Specified by:
evaluate
in interfaceNavBarEntry
- Overrides:
evaluate
in classLocationBasedNavBarEntry
-
getFile
public java.io.File getFile()
getFile
- Returns:
- a
File
object.
-
setFile
public void setFile(java.io.File file)
setFile
- Parameters:
file
- aFile
object.
-
-