Uses of Interface
eu.cloudnetservice.driver.document.property.DocProperty
Packages that use DocProperty
Package
Description
-
Uses of DocProperty in eu.cloudnetservice.driver.channel
Methods in eu.cloudnetservice.driver.channel with parameters of type DocPropertyModifier and TypeMethodDescriptionstatic @NonNull ChannelMessageTargetChannelMessageTarget.servicesWithProperty(@NonNull DocProperty<?> property) Get a channel message target that targets all services that have the given property associated with any value. -
Uses of DocProperty in eu.cloudnetservice.driver.document.property
Classes in eu.cloudnetservice.driver.document.property that implement DocPropertyModifier and TypeClassDescription(package private) final recordA doc property that injects the given default value when reading or writing a null value.(package private) final recordA doc property implementation that only allows reading the value from a document but not setting the value.(package private) final recordRewritingDocProperty<I,O> A doc property implementation that calls the given functions when reading/writing the value from a document to convert it into a different value (for example when parsing).(package private) final recordThe standard implementation of a doc property that does no special processing of the read/written values and supports read and write operations from/to the given document.Fields in eu.cloudnetservice.driver.document.property declared as DocPropertyModifier and TypeFieldDescriptionprivate final @NonNull DocProperty<E> DefaultingDocProperty.downstreamThe field for thedownstreamrecord component.private final @NonNull DocProperty<E> ReadOnlyDocProperty.downstreamThe field for thedownstreamrecord component.private final @NonNull DocProperty<I> RewritingDocProperty.upstreamThe field for theupstreamrecord component.Methods in eu.cloudnetservice.driver.document.property that return DocPropertyModifier and TypeMethodDescriptionDefaultingDocProperty.asReadOnly()Wraps this property in a new property that makes any write operation with this property throw an exception.DocProperty.asReadOnly()Wraps this property in a new property that makes any write operation with this property throw an exception.ReadOnlyDocProperty.asReadOnly()Wraps this property in a new property that makes any write operation with this property throw an exception.RewritingDocProperty.asReadOnly()Wraps this property in a new property that makes any write operation with this property throw an exception.StandardDocProperty.asReadOnly()Wraps this property in a new property that makes any write operation with this property throw an exception.DefaultingDocProperty.downstream()Returns the value of thedownstreamrecord component.ReadOnlyDocProperty.downstream()Returns the value of thedownstreamrecord component.static <E> @NonNull DocProperty<E> DocProperty.genericProperty(@NonNull String key, @NonNull Type type) Creates a new property that reads and writes values of the given type from/into a document using the given key.static <E> @NonNull DocProperty<E> Creates a new property that reads and writes values of the given type from/into a document using the given key.RewritingDocProperty.upstream()Returns the value of theupstreamrecord component.DefaultingDocProperty.withDefault(E def) Wraps this property to make read and write operations set a default value in case the given value is either absent (not appended to the document) or set tonull.DocProperty.withDefault(E def) Wraps this property to make read and write operations set a default value in case the given value is either absent (not appended to the document) or set tonull.ReadOnlyDocProperty.withDefault(E def) Wraps this property to make read and write operations set a default value in case the given value is either absent (not appended to the document) or set tonull.RewritingDocProperty.withDefault(O def) Wraps this property to make read and write operations set a default value in case the given value is either absent (not appended to the document) or set tonull.StandardDocProperty.withDefault(E def) Wraps this property to make read and write operations set a default value in case the given value is either absent (not appended to the document) or set tonull.<V> @NonNull DocProperty<V> DefaultingDocProperty.withReadRewrite(@NonNull Function<E, V> rewriteFunction) Wraps this property to apply a rewrite function when reading the property from a document.<V> @NonNull DocProperty<V> DocProperty.withReadRewrite(@NonNull Function<E, V> rewriteFunction) Wraps this property to apply a rewrite function when reading the property from a document.<V> @NonNull DocProperty<V> ReadOnlyDocProperty.withReadRewrite(@NonNull Function<E, V> rewriteFunction) Wraps this property to apply a rewrite function when reading the property from a document.<V> @NonNull DocProperty<V> RewritingDocProperty.withReadRewrite(@NonNull Function<O, V> rewriteFunction) Wraps this property to apply a rewrite function when reading the property from a document.<V> @NonNull DocProperty<V> StandardDocProperty.withReadRewrite(@NonNull Function<E, V> rewriteFunction) Wraps this property to apply a rewrite function when reading the property from a document.<V> @NonNull DocProperty<V> DefaultingDocProperty.withReadWriteRewrite(@NonNull Function<E, V> readRewriteFunction, @Nullable Function<V, E> writeRewriteFunction) Wraps this property to apply a rewrite function when reading and writing the property from/to a document.<V> @NonNull DocProperty<V> DocProperty.withReadWriteRewrite(@NonNull Function<E, V> readRewriteFunction, @Nullable Function<V, E> writeRewriteFunction) Wraps this property to apply a rewrite function when reading and writing the property from/to a document.<V> @NonNull DocProperty<V> ReadOnlyDocProperty.withReadWriteRewrite(@NonNull Function<E, V> readRewriteFunction, @Nullable Function<V, E> writeRewriteFunction) Wraps this property to apply a rewrite function when reading and writing the property from/to a document.<V> @NonNull DocProperty<V> RewritingDocProperty.withReadWriteRewrite(@NonNull Function<O, V> readRewriteFunction, @Nullable Function<V, O> writeRewriteFunction) Wraps this property to apply a rewrite function when reading and writing the property from/to a document.<V> @NonNull DocProperty<V> StandardDocProperty.withReadWriteRewrite(@NonNull Function<E, V> readRewriteFunction, @Nullable Function<V, E> writeRewriteFunction) Wraps this property to apply a rewrite function when reading and writing the property from/to a document.DefaultingDocProperty.writeTo(Document.Mutable document, E value) Writes the given value into the given document.DocProperty.writeTo(Document.Mutable document, E value) Writes the given value into the given document.ReadOnlyDocProperty.writeTo(Document.Mutable document, E value) Writes the given value into the given document.RewritingDocProperty.writeTo(Document.Mutable document, O value) Writes the given value into the given document.StandardDocProperty.writeTo(Document.Mutable document, E value) Writes the given value into the given document.Methods in eu.cloudnetservice.driver.document.property with parameters of type DocPropertyModifier and TypeMethodDescriptiondefault <E> booleanDefaultedDocPropertyHolder.propertyAbsent(@NonNull DocProperty<E> property) Get if no value is associated with the given property.<E> booleanDocPropertyHolder.propertyAbsent(@NonNull DocProperty<E> property) Get if no value is associated with the given property.default <E> booleanDefaultedDocPropertyHolder.propertyPresent(@NonNull DocProperty<E> property) Get if a value is associated with the given property.<E> booleanDocPropertyHolder.propertyPresent(@NonNull DocProperty<E> property) Get if a value is associated with the given property.default <E> @UnknownNullability EDefaultedDocPropertyHolder.readProperty(@NonNull DocProperty<E> property) Reads the value of the given property from the underlying document.<E> @UnknownNullability EDocPropertyHolder.readProperty(@NonNull DocProperty<E> property) Reads the value of the given property from the underlying document.default <E> @UnknownNullability EDefaultedDocPropertyHolder.readPropertyOrDefault(@NonNull DocProperty<E> property, E def) Reads the given property from the underlying document or returns the given default value if the property is not set or set tonull.<E> @UnknownNullability EDocPropertyHolder.readPropertyOrDefault(@NonNull DocProperty<E> property, E def) Reads the given property from the underlying document or returns the given default value if the property is not set or set tonull.default <E> @UnknownNullability EDefaultedDocPropertyHolder.readPropertyOrGet(@NonNull DocProperty<E> property, @NonNull Supplier<? extends E> supplier) Reads the given property from the underlying document or returns the default value computed by the given supplier if the property is not set or set tonull.<E> @UnknownNullability EDocPropertyHolder.readPropertyOrGet(@NonNull DocProperty<E> property, @NonNull Supplier<? extends E> supplier) Reads the given property from the underlying document or returns the default value computed by the given supplier if the property is not set or set tonull.default <E> EDefaultedDocPropertyHolder.readPropertyOrThrow(@NonNull DocProperty<E> property) Reads the given property from the underlying document or throws aNoSuchElementExceptionif the value is not set or set tonull.default <E, T extends Throwable>
EDefaultedDocPropertyHolder.readPropertyOrThrow(@NonNull DocProperty<E> property, @NonNull Supplier<? extends T> exceptionSupplier) Reads the given property from the underlying document or throws the exception that is computed by the given exception supplier if the value is not set or set tonull.<E> EDocPropertyHolder.readPropertyOrThrow(@NonNull DocProperty<E> property) Reads the given property from the underlying document or throws aNoSuchElementExceptionif the value is not set or set tonull.<E, T extends Throwable>
EDocPropertyHolder.readPropertyOrThrow(@NonNull DocProperty<E> property, @NonNull Supplier<? extends T> exceptionSupplier) Reads the given property from the underlying document or throws the exception that is computed by the given exception supplier if the value is not set or set tonull.default <E> EDefaultedDocPropertyHolder.Mutable.removeProperty(@NonNull DocProperty<E> property) Removes the given doc property from the underlying document.<E> @UnknownNullability EDocPropertyHolder.Mutable.removeProperty(@NonNull DocProperty<E> property) Removes the given doc property from the underlying document.default <E> SDefaultedDocPropertyHolder.Mutable.writeProperty(@NonNull DocProperty<E> property, E value) Writes the given property and value into the underlying document.<E> SDocPropertyHolder.Mutable.writeProperty(@NonNull DocProperty<E> property, E value) Writes the given property and value into the underlying document.default <E> SDefaultedDocPropertyHolder.Mutable.writePropertyIfAbsent(@NonNull DocProperty<E> property, E value) Writes the given property and value into the underlying document if no other value is associated yet with the given property.default <E> SDefaultedDocPropertyHolder.Mutable.writePropertyIfAbsent(@NonNull DocProperty<E> property, @NonNull Supplier<? extends E> valueSupplier) Writes the given property and computed value into the underlying document if no other value is associated yet with the given property.<E> SDocPropertyHolder.Mutable.writePropertyIfAbsent(@NonNull DocProperty<E> property, E value) Writes the given property and value into the underlying document if no other value is associated yet with the given property.<E> SDocPropertyHolder.Mutable.writePropertyIfAbsent(@NonNull DocProperty<E> property, @NonNull Supplier<? extends E> valueSupplier) Writes the given property and computed value into the underlying document if no other value is associated yet with the given property.default <E> SDefaultedDocPropertyHolder.Mutable.writePropertyIfPresent(@NonNull DocProperty<E> property, E val) Writes the given property and value into the underlying document if another value is already associated with the given property.default <E> SDefaultedDocPropertyHolder.Mutable.writePropertyIfPresent(@NonNull DocProperty<E> property, @NonNull Supplier<? extends E> valueSupplier) Writes the given property and computed value into the underlying document if another value is already associated with the given property.<E> SDocPropertyHolder.Mutable.writePropertyIfPresent(@NonNull DocProperty<E> property, E value) Writes the given property and value into the underlying document if another value is already associated with the given property.<E> SDocPropertyHolder.Mutable.writePropertyIfPresent(@NonNull DocProperty<E> property, @NonNull Supplier<? extends E> valueSupplier) Writes the given property and computed value into the underlying document if another value is already associated with the given property.Constructors in eu.cloudnetservice.driver.document.property with parameters of type DocPropertyModifierConstructorDescription(package private)DefaultingDocProperty(@NonNull DocProperty<E> downstream, E def) Creates an instance of aDefaultingDocPropertyrecord class.(package private)ReadOnlyDocProperty(@NonNull DocProperty<E> downstream) Creates an instance of aReadOnlyDocPropertyrecord class.(package private)RewritingDocProperty(@NonNull DocProperty<I> upstream, @NonNull Function<I, O> readRewriteFunction, @Nullable Function<O, I> writeRewriteFunction) Creates an instance of aRewritingDocPropertyrecord class. -
Uses of DocProperty in eu.cloudnetservice.driver.service
Fields in eu.cloudnetservice.driver.service declared as DocPropertyModifier and TypeFieldDescriptionstatic final DocProperty<Map<String, String>> ServiceRemoteInclusion.HEADERSA property which can be added to a service inclusion to set the http headers to send when making the download http request.static final DocProperty<Boolean> ServiceEnvironmentType.JAVA_PROXYA property set on all service environment types which are a Minecraft java edition proxy.static final DocProperty<Boolean> ServiceEnvironmentType.JAVA_SERVERA property set on all service environment types which are a Minecraft java edition server.static final DocProperty<Boolean> ServiceEnvironmentType.PE_PROXYA property set on all service environment types which are a Minecraft pocket edition proxy.static final DocProperty<Boolean> ServiceEnvironmentType.PE_SERVERA property set on all service environment types which are a Minecraft pocket edition server.static final DocProperty<String> ServiceEnvironmentType.PLUGIN_DIRA property which defines the plugin directory of a service environment.