Package velox.api.layer1.messages.plugin
Enum Class AvailablePluginsRequest.CacheMode
java.lang.Object
java.lang.Enum<AvailablePluginsRequest.CacheMode>
velox.api.layer1.messages.plugin.AvailablePluginsRequest.CacheMode
- All Implemented Interfaces:
Serializable,Comparable<AvailablePluginsRequest.CacheMode>,Constable
- Enclosing class:
AvailablePluginsRequest
public static enum AvailablePluginsRequest.CacheMode
extends Enum<AvailablePluginsRequest.CacheMode>
Determines how plugin catalog information is retrieved.
This setting has no effect when AvailablePluginsRequest.TargetGroup.ACTIVE_ALL is requested.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRetrieves current plugin information from the server and replaces the cached information.Uses cached plugin information when available.Uses cached plugin information only and does not contact the server. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static AvailablePluginsRequest.CacheMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FROM_CACHE
Uses cached plugin information only and does not contact the server. If the cache is empty, the request succeeds with an empty list ofqualifiers. -
FRESH_IF_NO_CACHE
Uses cached plugin information when available. If the cache is empty, retrieves the information from the server and stores it in the cache. -
FRESH
Retrieves current plugin information from the server and replaces the cached information.
-
-
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
-