Class FindOption<T>
java.lang.Object
com.linecorp.centraldogma.server.storage.repository.FindOption<T>
- Type Parameters:
T
- the type of the value
An option which is specified when retrieving one or more files.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final FindOption
<Boolean> Whether to fetch the content of the found files.static final FindOption
<Integer> The maximum number of the fetched files. -
Method Summary
Modifier and TypeMethodDescriptionReturns the default value of this option.get
(Map<FindOption<?>, ?> options) Returns the value if this option exists in the specifiedoptions
map.name()
Returns the name of this option.toString()
-
Field Details
-
FETCH_CONTENT
Whether to fetch the content of the found files. The default value istrue
. -
MAX_ENTRIES
The maximum number of the fetched files. The default value isInteger.MAX_VALUE
.
-
-
Method Details