A C D E F H I O T W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- asEnum() - Method in class com.hubspot.immutables.utils.WireSafeEnum
- asEnumOrThrow() - Method in class com.hubspot.immutables.utils.WireSafeEnum
-
Deprecated.this method doesn't handle unknown enum values, and eliminates the benefits of WireSafeEnum. If you want to compare to a specific value, you can call
WireSafeEnum.contains(Enum), which handles unknown values gracefully. If you do really need to coerce to an enum, you can replace this method with .asEnum().get() - asEnumOrThrow(Supplier<? extends X>) - Method in class com.hubspot.immutables.utils.WireSafeEnum
-
Deprecated.this method doesn't handle unknown enum values, and eliminates the benefits of WireSafeEnum. If you want to compare to a specific value, you can call
WireSafeEnum.contains(Enum), which handles unknown values gracefully. If you do really need to coerce to an enum, you can replace this method with .asEnum().orElseThrow(exceptionSupplier) - asString() - Method in class com.hubspot.immutables.utils.WireSafeEnum
C
- com.hubspot.immutables.style - package com.hubspot.immutables.style
- com.hubspot.immutables.utils - package com.hubspot.immutables.utils
- contains(T) - Method in class com.hubspot.immutables.utils.WireSafeEnum
- createContextual(DeserializationContext, BeanProperty) - Method in class com.hubspot.immutables.utils.WireSafeEnum.Deserializer
D
- deserialize(JsonParser, DeserializationContext) - Method in class com.hubspot.immutables.utils.WireSafeEnum.Deserializer
- Deserializer() - Constructor for class com.hubspot.immutables.utils.WireSafeEnum.Deserializer
E
- enumType() - Method in class com.hubspot.immutables.utils.WireSafeEnum
- equals(Object) - Method in class com.hubspot.immutables.utils.WireSafeEnum
F
- fromJson(Class<T>, String) - Static method in class com.hubspot.immutables.utils.WireSafeEnum
H
- hashCode() - Method in class com.hubspot.immutables.utils.WireSafeEnum
- HubSpotImmutableStyle - Annotation Type in com.hubspot.immutables.style
-
This style is preferred over
HubSpotStylebecause it enforces use of guava's Immutable* collection types. - HubSpotModifiableStyle - Annotation Type in com.hubspot.immutables.style
- HubSpotStyle - Annotation Type in com.hubspot.immutables.style
-
Consider using
HubSpotImmutableStyleinstead.
I
- ImmutableInherited - Annotation Type in com.hubspot.immutables.style
O
- of(T) - Static method in class com.hubspot.immutables.utils.WireSafeEnum
T
- toString() - Method in class com.hubspot.immutables.utils.WireSafeEnum
W
- WireSafeEnum<T extends Enum<T>> - Class in com.hubspot.immutables.utils
-
This utility is meant to help with the fragility introduced by using an enum across API boundaries.
- WireSafeEnum.Deserializer - Class in com.hubspot.immutables.utils
All Classes All Packages