Skip to content

Commit

Permalink
adding missing deprecations to dryRun
Browse files Browse the repository at this point in the history
  • Loading branch information
shawkins committed Apr 28, 2022
1 parent 20f7b6b commit 553c52c
Showing 1 changed file with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ public interface AnyNamespaceOperation<T, L, R> extends FilterWatchListDeletable
* it normally would, without being persisted.
*
* @return write operations which are applicable for dry run
* @deprecated use Resource.dryRun()
*/
@Deprecated
ItemWritableOperation<T> dryRun();

/**
Expand All @@ -45,7 +47,9 @@ public interface AnyNamespaceOperation<T, L, R> extends FilterWatchListDeletable
*
* @param isDryRun whether dry run is enabled or disabled
* @return write operations which are applicable for dry run
* @deprecated use Resource.dryRun()
*/
@Deprecated
ItemWritableOperation<T> dryRun(boolean isDryRun);

/**
Expand Down Expand Up @@ -75,39 +79,39 @@ default boolean delete(T... items) {

/**
* Load from an {@link InputStream}.
*
*
* @param is The input stream.
* @return returns de-serialized object
*/
R load(InputStream is);

/**
* Load from a {@link URL}.
*
*
* @param url The url.
* @return returns de-serialized object
*/
R load(URL url);

/**
* Load from a {@link File}.
*
*
* @param file The file.
* @return returns de-serialized object
*/
R load(File file);

/**
* Load from path.
*
*
* @param path The path.
* @return returns de-serialized object
*/
R load(String path);

/**
* Provide a {@link Resource} for the given item
*
*
* @param item
* @return the resource upon which operations can be performed
*/
Expand Down

0 comments on commit 553c52c

Please sign in to comment.