Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 7 |
|
0.00% |
0 / 7 |
CRAP | |
0.00% |
0 / 1 |
| LibresignActivitySettings | |
0.00% |
0 / 7 |
|
0.00% |
0 / 7 |
56 | |
0.00% |
0 / 1 |
| getGroupIdentifier | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getGroupName | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| getPriority | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| canChangeNotification | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| canChangeMail | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| isDefaultEnabledMail | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| isDefaultEnabledNotification | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | |
| 5 | /** |
| 6 | * SPDX-FileCopyrightText: 2020-2024 LibreCode coop and contributors |
| 7 | * SPDX-License-Identifier: AGPL-3.0-or-later |
| 8 | */ |
| 9 | |
| 10 | namespace OCA\Libresign\Activity\Settings; |
| 11 | |
| 12 | use OCP\Activity\ActivitySettings; |
| 13 | |
| 14 | abstract class LibresignActivitySettings extends ActivitySettings { |
| 15 | |
| 16 | /** |
| 17 | * {@inheritdoc} |
| 18 | */ |
| 19 | #[\Override] |
| 20 | public function getGroupIdentifier() { |
| 21 | return 'libresign'; |
| 22 | } |
| 23 | |
| 24 | /** |
| 25 | * {@inheritdoc} |
| 26 | */ |
| 27 | #[\Override] |
| 28 | public function getGroupName() { |
| 29 | return 'LibreSign'; |
| 30 | } |
| 31 | |
| 32 | /** |
| 33 | * {@inheritdoc} |
| 34 | */ |
| 35 | #[\Override] |
| 36 | public function getPriority(): int { |
| 37 | return 51; |
| 38 | } |
| 39 | /** |
| 40 | * {@inheritdoc} |
| 41 | */ |
| 42 | #[\Override] |
| 43 | public function canChangeNotification(): bool { |
| 44 | return true; |
| 45 | } |
| 46 | /** |
| 47 | * {@inheritdoc} |
| 48 | */ |
| 49 | #[\Override] |
| 50 | public function canChangeMail() { |
| 51 | return true; |
| 52 | } |
| 53 | /** |
| 54 | * {@inheritdoc} |
| 55 | */ |
| 56 | #[\Override] |
| 57 | public function isDefaultEnabledMail() { |
| 58 | return true; |
| 59 | } |
| 60 | /** |
| 61 | * {@inheritdoc} |
| 62 | */ |
| 63 | #[\Override] |
| 64 | public function isDefaultEnabledNotification(): bool { |
| 65 | return true; |
| 66 | } |
| 67 | } |