BookmarkPolicy (enum)
API
BookmarkPolicy.java
enum BookmarkPolicy {
AS_ROOT (1)
AS_CHILD (2)
NEVER (3)
NOT_SPECIFIED (4)
boolean isRoot()
boolean isChild()
}
1 | AS_ROOT
Can be bookmarked, and is a top-level 'root' (or parent) bookmark. |
2 | AS_CHILD
Can be bookmarked, but only as a child or some other parent/root bookmark |
3 | NEVER
An unimportant entity that should never be bookmarked. |
4 | NOT_SPECIFIED
Ignore the value provided by this annotation (meaning that the framework will keep searching, in meta annotations or superclasses/interfaces). |