Skip to content

Commit

Permalink
#288 update @SInCE annotations to version 2.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: Vadim Guenther <vadim.guenther@bosch.io>
  • Loading branch information
VadimGue committed Feb 2, 2021
1 parent be1a201 commit c20af63
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 22 deletions.
Expand Up @@ -311,7 +311,7 @@ public interface CommonManagement<T extends ThingHandle, F extends FeatureHandle
* @return completable future providing {@code null} in case of success or a specific {@link
* org.eclipse.ditto.model.base.exceptions.DittoRuntimeException} if the operation failed.
* @throws IllegalArgumentException if {@code argument} is {@code null}.
* TODO adapt @since annotation @since 1.6.0
* @since 2.0.0
*/
CompletableFuture<Void> merge(ThingId thingId, Thing thing, Option<?>... options);

Expand All @@ -325,7 +325,7 @@ public interface CommonManagement<T extends ThingHandle, F extends FeatureHandle
* @return completable future providing {@code null} in case of success or a specific {@link
* org.eclipse.ditto.model.base.exceptions.DittoRuntimeException} if the operation failed.
* @throws IllegalArgumentException if {@code argument} is {@code null}.
* TODO adapt @since annotation @since 1.6.0
* @since 2.0.0
*/
CompletableFuture<Void> merge(ThingId thingId, JsonObject thing, Option<?>... options);

Expand Down
Expand Up @@ -52,7 +52,7 @@ public interface FeatureDefinitionManagement {
* @return a CompletableFuture providing the result of this operation or a specific {@link
* org.eclipse.ditto.model.base.exceptions.DittoRuntimeException} if the operation failed.
* @throws NullPointerException if any argument is {@code null}.
* TODO adapt @since annotation @since 1.6.0
* @since 2.0.0
*/
CompletableFuture<Void> mergeDefinition(FeatureDefinition definition, Option<?>... options);

Expand Down
Expand Up @@ -228,7 +228,7 @@ default CompletableFuture<Void> putProperty(final CharSequence path, final JsonV
* @return a completable future providing the result of this operation or a specific {@link
* org.eclipse.ditto.model.base.exceptions.DittoRuntimeException} if the operation failed
* @throws IllegalArgumentException if {@code path} is {@code null} or empty.
* TODO adapt @since annotation @since 1.6.0
* @since 2.0.0
*/
default CompletableFuture<Void> mergeProperty(final CharSequence path, final boolean value,
final Option<?>... options) {
Expand All @@ -247,7 +247,7 @@ default CompletableFuture<Void> mergeProperty(final CharSequence path, final boo
* @return a completable future providing the result of this operation or a specific {@link
* org.eclipse.ditto.model.base.exceptions.DittoRuntimeException} if the operation failed
* @throws IllegalArgumentException if {@code path} is {@code null} or empty.
* TODO adapt @since annotation @since 1.6.0
* @since 2.0.0
*/
default CompletableFuture<Void> mergeProperty(final CharSequence path, final double value,
final Option<?>... options) {
Expand All @@ -267,7 +267,7 @@ default CompletableFuture<Void> mergeProperty(final CharSequence path, final dou
* @return a completable future providing the result of this operation or a specific {@link
* org.eclipse.ditto.model.base.exceptions.DittoRuntimeException} if the operation failed
* @throws IllegalArgumentException if {@code path} is {@code null} or empty.
* TODO adapt @since annotation @since 1.6.0
* @since 2.0.0
*/
default CompletableFuture<Void> mergeProperty(final CharSequence path, final int value,
final Option<?>... options) {
Expand All @@ -287,7 +287,7 @@ default CompletableFuture<Void> mergeProperty(final CharSequence path, final int
* @return a completable future providing the result of this operation or a specific {@link
* org.eclipse.ditto.model.base.exceptions.DittoRuntimeException} if the operation failed
* @throws IllegalArgumentException if {@code path} is {@code null} or empty.
* TODO adapt @since annotation @since 1.6.0
* @since 2.0.0
*/
default CompletableFuture<Void> mergeProperty(final CharSequence path, final long value,
final Option<?>... options) {
Expand All @@ -307,7 +307,7 @@ default CompletableFuture<Void> mergeProperty(final CharSequence path, final lon
* @return a completable future providing the result of this operation or a specific {@link
* org.eclipse.ditto.model.base.exceptions.DittoRuntimeException} if the operation failed
* @throws IllegalArgumentException if {@code path} is {@code null} or empty.
* TODO adapt @since annotation @since 1.6.0
* @since 2.0.0
*/
default CompletableFuture<Void> mergeProperty(final CharSequence path, final String value,
final Option<?>... options) {
Expand All @@ -326,7 +326,7 @@ default CompletableFuture<Void> mergeProperty(final CharSequence path, final Str
* @return a completable future providing the result of this operation or a specific {@link
* org.eclipse.ditto.model.base.exceptions.DittoRuntimeException} if the operation failed
* @throws IllegalArgumentException if {@code path} is {@code null} or empty.
* TODO adapt @since annotation @since 1.6.0
* @since 2.0.0
*/
default CompletableFuture<Void> mergeProperty(final CharSequence path, final JsonValue value,
final Option<?>... options) {
Expand All @@ -344,7 +344,7 @@ default CompletableFuture<Void> mergeProperty(final CharSequence path, final Jso
* @return a completable future providing the result of this operation or a specific {@link
* org.eclipse.ditto.model.base.exceptions.DittoRuntimeException} if the operation failed
* @throws IllegalArgumentException if {@code path} is {@code null} or empty.
* TODO adapt @since annotation @since 1.6.0
* @since 2.0.0
*/
CompletableFuture<Void> mergeProperty(JsonPointer path, JsonValue value, Option<?>... options);

Expand All @@ -367,7 +367,7 @@ default CompletableFuture<Void> mergeProperty(final CharSequence path, final Jso
* org.eclipse.ditto.client.options.Options}.
* @return a completable future providing the result of this operation or a specific {@link
* org.eclipse.ditto.model.base.exceptions.DittoRuntimeException} if the operation failed
* TODO adapt @since annotation @since 1.6.0
* @since 2.0.0
*/
CompletableFuture<Void> mergeProperties(JsonObject value, Option<?>... options);

Expand Down
Expand Up @@ -231,7 +231,7 @@ default CompletableFuture<Void> putAttribute(final CharSequence path, final Json
* @return a completable future providing the result of this operation or a specific {@link
* org.eclipse.ditto.model.base.exceptions.DittoRuntimeException} if the operation failed
* @throws IllegalArgumentException if {@code path} is {@code null} or empty.
* TODO adapt @since annotation @since 1.6.0
* @since 2.0.0
*/
default CompletableFuture<Void> mergeAttribute(final CharSequence path, final boolean value,
final Option<?>... options) {
Expand All @@ -250,7 +250,7 @@ default CompletableFuture<Void> mergeAttribute(final CharSequence path, final bo
* @return a completable future providing the result of this operation or a specific {@link
* org.eclipse.ditto.model.base.exceptions.DittoRuntimeException} if the operation failed
* @throws IllegalArgumentException if {@code path} is {@code null} or empty.
* TODO adapt @since annotation @since 1.6.0
* @since 2.0.0
*/
default CompletableFuture<Void> mergeAttribute(final CharSequence path, final double value,
final Option<?>... options) {
Expand All @@ -269,7 +269,7 @@ default CompletableFuture<Void> mergeAttribute(final CharSequence path, final do
* @return a completable future providing the result of this operation or a specific {@link
* org.eclipse.ditto.model.base.exceptions.DittoRuntimeException} if the operation failed
* @throws IllegalArgumentException if {@code path} is {@code null} or empty.
* TODO adapt @since annotation @since 1.6.0
* @since 2.0.0
*/
default CompletableFuture<Void> mergeAttribute(final CharSequence path, final int value,
final Option<?>... options) {
Expand All @@ -288,7 +288,7 @@ default CompletableFuture<Void> mergeAttribute(final CharSequence path, final in
* @return a completable future providing the result of this operation or a specific {@link
* org.eclipse.ditto.model.base.exceptions.DittoRuntimeException} if the operation failed
* @throws IllegalArgumentException if {@code path} is {@code null} or empty.
* TODO adapt @since annotation @since 1.6.0
* @since 2.0.0
*/
default CompletableFuture<Void> mergeAttribute(final CharSequence path, final long value,
final Option<?>... options) {
Expand All @@ -307,7 +307,7 @@ default CompletableFuture<Void> mergeAttribute(final CharSequence path, final lo
* @return a completable future providing the result of this operation or a specific {@link
* org.eclipse.ditto.model.base.exceptions.DittoRuntimeException} if the operation failed
* @throws IllegalArgumentException if {@code path} is {@code null} or empty.
* TODO adapt @since annotation @since 1.6.0
* @since 2.0.0
*/
default CompletableFuture<Void> mergeAttribute(final CharSequence path, final String value,
final Option<?>... options) {
Expand All @@ -326,7 +326,7 @@ default CompletableFuture<Void> mergeAttribute(final CharSequence path, final St
* @return a completable future providing the result of this operation or a specific {@link
* org.eclipse.ditto.model.base.exceptions.DittoRuntimeException} if the operation failed
* @throws IllegalArgumentException if {@code path} is {@code null} or empty.
* TODO adapt @since annotation @since 1.6.0
* @since 2.0.0
*/
default CompletableFuture<Void> mergeAttribute(final CharSequence path, final JsonValue value,
final Option<?>... options) {
Expand All @@ -344,7 +344,7 @@ default CompletableFuture<Void> mergeAttribute(final CharSequence path, final Js
* @return a completable future providing the result of this operation or a specific {@link
* org.eclipse.ditto.model.base.exceptions.DittoRuntimeException} if the operation failed
* @throws IllegalArgumentException if any argument is {@code null} or if {@code path} is empty.
* TODO adapt @since annotation @since 1.6.0
* @since 2.0.0
*/
CompletableFuture<Void> mergeAttribute(JsonPointer path, JsonValue value, Option<?>... options);

Expand All @@ -369,7 +369,7 @@ default CompletableFuture<Void> mergeAttribute(final CharSequence path, final Js
* @return a completable future providing the result of this operation or a specific {@link
* org.eclipse.ditto.model.base.exceptions.DittoRuntimeException} if the operation failed
* @throws IllegalArgumentException if {@code value} is {@code null}
* TODO adapt @since annotation @since 1.6.0
* @since 2.0.0
*/
CompletableFuture<Void> mergeAttributes(JsonObject value, Option<?>... options);

Expand Down
Expand Up @@ -118,7 +118,7 @@ public interface ThingHandle<F extends FeatureHandle> extends WithThingId, Thing
* @return completable future for handling the result of the operation or a specific {@link
* org.eclipse.ditto.model.base.exceptions.DittoRuntimeException} if the operation failed
* @throws IllegalArgumentException if {@code policyId} is {@code null}.
* TODO adapt @since annotation @since 1.6.0
* @since 2.0.0
*/
CompletableFuture<Void> mergePolicyId(PolicyId policyId, Option<?>... options);

Expand All @@ -143,7 +143,7 @@ public interface ThingHandle<F extends FeatureHandle> extends WithThingId, Thing
* @return completable future for handling the result of the operation or a specific {@link
* org.eclipse.ditto.model.base.exceptions.DittoRuntimeException} if the operation failed
* @throws IllegalArgumentException if {@code features} is {@code null}.
* TODO adapt @since annotation @since 1.6.0
* @since 2.0.0
*/
CompletableFuture<Void> mergeFeatures(Features features, Option<?>... options);

Expand All @@ -168,7 +168,7 @@ public interface ThingHandle<F extends FeatureHandle> extends WithThingId, Thing
* @return completable future for handling the result of this operation or a specific {@link
* org.eclipse.ditto.model.base.exceptions.DittoRuntimeException} if the operation failed
* @throws IllegalArgumentException if {@code feature} is {@code null}.
* TODO adapt @since annotation @since 1.6.0
* @since 2.0.0
*/
CompletableFuture<Void> mergeFeature(Feature feature, Option<?>... options);

Expand Down

0 comments on commit c20af63

Please sign in to comment.