Enum Class DocScope
- All Implemented Interfaces:
Serializable,Comparable<DocScope>,Constable
DocScope determines which display mode a topic is meant to be displayed in.
You should filter for the DocScopes you are interested in when you ask
for markdown content.
The special values ANY and NONE are provided for two reasons:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionANY is a descriptive doc scope which is meant to be used as a filter within API calls to find and display docs.The dynamic web doc scope includes any markdown which should be made available to users when they are interacting with a web application.The command line doc scope includes any markdown which should be shown to the user when they are searching for or viewing documentation on a command line.NONE is a descriptive doc scope which is meant to be used as the default value for found raw markdown if it has not been tagged with a direct scope.The static web doc scope includes any markdown which should be shown to the user when they are viewing documentation on an externally hosted site in static form. -
Method Summary
-
Enum Constant Details
-
cli
The command line doc scope includes any markdown which should be shown to the user when they are searching for or viewing documentation on a command line. -
web
The static web doc scope includes any markdown which should be shown to the user when they are viewing documentation on an externally hosted site in static form. -
app
The dynamic web doc scope includes any markdown which should be made available to users when they are interacting with a web application. -
ANY
ANY is a descriptive doc scope which is meant to be used as a filter within API calls to find and display docs. It is invalid for any raw markdown content to be tagged with this doc scope. -
NONE
NONE is a descriptive doc scope which is meant to be used as the default value for found raw markdown if it has not been tagged with a direct scope. This scope should only be returned as a place holder when no scopes are defined on content. When reading raw content, finding the NONE scope explicitly on raw source is considered an error.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-