Skip to content

Commit c31c4ea

Browse files
marcelklehrbackportbot[bot]
authored andcommitted
fix(developer_manual): Add TaskProcessing updates to 33 upgrade guide
see nextcloud/server#56908 see nextcloud/server#56717 Signed-off-by: Marcel Klehr <mklehr@gmx.net> [skip ci]
1 parent 5018236 commit c31c4ea

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_33.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,8 @@ Changed APIs
202202

203203
- The ``setId`` and ``getId`` methods of ``\OCP\BackgroundJob\IJob`` were changed to return/accept a string instead of an int. Same for ``\OCP\BackgroundJob\IJobList`` were some methods (``removedById``, ``getById`` and ``getDetailsById``) are now taking a string instead of an int. The string is suppose to be a snowflake id.
204204
- The ``setObjectId`` and ``getObjectId`` methods of ``\OCP\Activity\IEvent`` were changed to return/accept a string in addition to an int. The string is suppose to be a snowflake id.
205+
- The ``\OCP\TaskProcessing\Task`` class now has ``getIncludeWatermark`` and ``setIncludeWatermark`` methods for indicating whether the provider should add a watermark to the generated output.
206+
- The TaskProcessing OCS API now also accepts the ``includeWatermark`` flag when scheduling tasks
205207

206208
Deprecated APIs
207209
^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)