Skip to content

Commit a499488

Browse files
committed
chore(TaskProcessing): Add maintenance attributes
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
1 parent 3a47f42 commit a499488

7 files changed

Lines changed: 27 additions & 0 deletions

File tree

lib/public/TaskProcessing/IInternalTaskType.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,15 @@
99

1010
namespace OCP\TaskProcessing;
1111

12+
use OCP\AppFramework\Attribute\Implementable;
13+
1214
/**
1315
* This is a task type interface that is implemented by task processing
1416
* task types that should not show up in the assistant UI
17+
*
1518
* @since 33.0.0
1619
*/
20+
#[Implementable(since:'33.0.0')]
1721
interface IInternalTaskType extends ITaskType {
1822

1923
}

lib/public/TaskProcessing/IProvider.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,15 @@
99

1010
namespace OCP\TaskProcessing;
1111

12+
use OCP\AppFramework\Attribute\Implementable;
13+
1214
/**
1315
* This is the interface that is implemented by apps that
1416
* implement a task processing provider
17+
*
1518
* @since 30.0.0
1619
*/
20+
#[Implementable(since: '30.0.0')]
1721
interface IProvider {
1822
/**
1923
* The unique id of this provider

lib/public/TaskProcessing/ITaskType.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,15 @@
99

1010
namespace OCP\TaskProcessing;
1111

12+
use OCP\AppFramework\Attribute\Implementable;
13+
1214
/**
1315
* This is a task type interface that is implemented by task processing
1416
* task types
17+
*
1518
* @since 30.0.0
1619
*/
20+
#[Implementable(since: '30.0.0')]
1721
interface ITaskType {
1822
/**
1923
* Returns the unique id of this task type

lib/public/TaskProcessing/ITriggerableProvider.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,15 @@
99

1010
namespace OCP\TaskProcessing;
1111

12+
use OCP\AppFramework\Attribute\Implementable;
13+
1214
/**
1315
* This is the interface that is implemented by apps that
1416
* implement a task processing provider with support for being triggered
17+
*
1518
* @since 33.0.0
1619
*/
20+
#[Implementable(since: '30.0.0')]
1721
interface ITriggerableProvider extends IProvider {
1822

1923
/**

lib/public/TaskProcessing/ShapeDescriptor.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,14 @@
77

88
namespace OCP\TaskProcessing;
99

10+
use OCP\AppFramework\Attribute\Consumable;
11+
1012
/**
1113
* Data object for input output shape entries
14+
*
1215
* @since 30.0.0
1316
*/
17+
#[Consumable(since: '30.0.0')]
1418
class ShapeDescriptor implements \JsonSerializable {
1519
/**
1620
* @param string $name

lib/public/TaskProcessing/ShapeEnumValue.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,14 @@
77

88
namespace OCP\TaskProcessing;
99

10+
use OCP\AppFramework\Attribute\Consumable;
11+
1012
/**
1113
* Data object for input output shape enum slot value
14+
*
1215
* @since 30.0.0
1316
*/
17+
#[Consumable(since: '30.0.0')]
1418
class ShapeEnumValue implements \JsonSerializable {
1519
/**
1620
* @param string $name

lib/public/TaskProcessing/SynchronousProviderOptions.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@
77

88
namespace OCP\TaskProcessing;
99

10+
use OCP\AppFramework\Attribute\Consumable;
11+
1012
/**
1113
* @since 35.0.0
1214
*/
15+
#[Consumable(since: '35.0.0')]
1316
class SynchronousProviderOptions {
1417
private \Closure $reportIntermediateOutput;
1518

0 commit comments

Comments
 (0)