Uses of Class
org.apache.maven.api.SessionData.Key
Packages that use SessionData.Key
-
Uses of SessionData.Key in org.apache.maven.api
Methods in org.apache.maven.api that return SessionData.KeyModifier and TypeMethodDescriptionstatic <T> SessionData.Key<T>Create a key using the given class as an identifier and as the type of the object.static <T> SessionData.Key<T>Create a key using the given class and id.Methods in org.apache.maven.api with parameters of type SessionData.KeyModifier and TypeMethodDescription<T> TSessionData.computeIfAbsent(SessionData.Key<T> key, Supplier<T> supplier) Retrieve of compute the data associated with the specified key.<T> TSessionData.get(SessionData.Key<T> key) Gets the session data associated with the specified key.<T> booleanSessionData.replace(SessionData.Key<T> key, T oldValue, T newValue) Associates the specified session data with the given key if the key is currently mapped to the given value.<T> voidSessionData.set(SessionData.Key<T> key, T value) Associates the specified session data with the given key.