| Modifier and Type | Field and Description |
|---|---|
| private Extension | |
| private final HashMap | |
| private final HashSet |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected void | addExtensionApiPoint(@NotNull Object
point registered apiPoint)Call to add extension API point to track |
| public abstract @NotNull Object | |
| public final T | |
| public <V> V | Returns: return stored value or newly created valuedata key key)
Deprecated
use key.get(dataHolder) instead, which will do the same thing an carries nullable information for the data
Get the given key, if it does not exist then use the key's factory to create a new value and put it into the collection so that the following get of the same key will find a value |
| protected abstract boolean | Returns: true if extension was loadedto load extension)Load extension if it is valid |
| protected void | |
| protected abstract void | preloadExtension(@NotNull Extension
to preload extension)Preload operation for extension, perform any data config and other operation needed for loading extension |
| protected abstract void | |
| public static DataHolder | Returns: modified options if removed and options were immutable or the same options if nothing to remove or options were mutable.options where EXTENSIONS key is set options, @NotNull Collection<Class<? extends Extension>> collection of extension classes to remove from extensions excludeExtensions)Remove given extensions from options[EXTENSIONS] data key. |
| public <V> @NotNull MutableDataSet | |
| public <V> @NotNull MutableDataSet |
| currentExtension | back to summary |
|---|---|
| private Extension currentExtension | |
| extensionApiPoints | back to summary |
|---|---|
| private final HashMap<Class<?>, HashSet<Object>> extensionApiPoints | |
| loadedExtensions | back to summary |
|---|---|
| private final HashSet<Class<?>> loadedExtensions | |
| BuilderBase | back to summary |
|---|---|
| protected BuilderBase(@Nullable DataHolder options) | |
| BuilderBase | back to summary |
|---|---|
| protected BuilderBase() | |
| addExtensionApiPoint | back to summary |
|---|---|
| protected void addExtensionApiPoint(@NotNull Object apiPoint) Call to add extension API point to track | |
| build | back to summary |
|---|---|
| public abstract @NotNull Object build() | |
| extensions | back to summary |
|---|---|
public final T extensions(@NotNull Collection<? extends Extension> extensions)
| |
| get | back to summary |
|---|---|
| public <V> V get(@NotNull DataKey<V> key)
Deprecated use key.get(dataHolder) instead, which will do the same thing an carries nullable information for the data Get the given key, if it does not exist then use the key's factory to create a new value and put it into the collection so that the following get of the same key will find a value
| |
| loadExtension | back to summary |
|---|---|
| protected abstract boolean loadExtension(@NotNull Extension extension) Load extension if it is valid | |
| loadExtensions | back to summary |
|---|---|
| protected void loadExtensions() | |
| preloadExtension | back to summary |
|---|---|
| protected abstract void preloadExtension(@NotNull Extension extension) Preload operation for extension, perform any data config and other operation needed for loading extension | |
| removeApiPoint | back to summary |
|---|---|
| protected abstract void removeApiPoint(@NotNull Object apiPoint) Remove apiPoint from state information | |
| removeExtensions | back to summary |
|---|---|
| public static DataHolder removeExtensions(@NotNull DataHolder options, @NotNull Collection<Class<? extends Extension>> excludeExtensions) Remove given extensions from options[EXTENSIONS] data key.
| |
| set | back to summary |
|---|---|
| public <V> @NotNull MutableDataSet set(@NotNull DataKey<V> key, V value) Tracks keys set by extension initialization | |
| set | back to summary |
|---|---|
| public <V> @NotNull MutableDataSet set(@NotNull NullableDataKey<V> key, V value) | |