Skip to content

Commit de302ae

Browse files
javadoc
1 parent af59966 commit de302ae

File tree

5 files changed

+22
-0
lines changed

5 files changed

+22
-0
lines changed

src/main/java/org/cryptomator/integrations/autostart/AutoStartProvider.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66

77
public interface AutoStartProvider {
88

9+
/**
10+
* Loads the best-suited AutoStartProvider.
11+
*
12+
* @return preferred AutoStartProvider (if any)
13+
* @since 1.1.0
14+
*/
915
static Optional<AutoStartProvider> get() {
1016
return IntegrationsLoader.load(AutoStartProvider.class);
1117
}

src/main/java/org/cryptomator/integrations/common/OperatingSystem.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
/**
1111
* Restricts the annotated integration provider to one or more operating system(s).
12+
*
13+
* @since 1.1.0
1214
*/
1315
@Documented
1416
@Retention(RetentionPolicy.RUNTIME)

src/main/java/org/cryptomator/integrations/common/Priority.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
* Integration Priority.
1212
* <p>
1313
* If multiple implementations for an integration can be provided, the provider with the highest priority will be used.
14+
*
15+
* @since 1.1.0
1416
*/
1517
@Documented
1618
@Retention(RetentionPolicy.RUNTIME)

src/main/java/org/cryptomator/integrations/keychain/KeychainAccessProvider.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@
99
*/
1010
public interface KeychainAccessProvider {
1111

12+
/**
13+
* Loads all available KeychainAccessProvider.
14+
*
15+
* @return a stream of {@link #isSupported() supported} KeychainAccessProviders
16+
* @since 1.1.0
17+
*/
1218
static Stream<KeychainAccessProvider> get() {
1319
return IntegrationsLoader.loadAll(KeychainAccessProvider.class).filter(KeychainAccessProvider::isSupported);
1420
}

src/main/java/org/cryptomator/integrations/uiappearance/UiAppearanceProvider.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@
99
*/
1010
public interface UiAppearanceProvider {
1111

12+
/**
13+
* Loads the best-suited UiAppearanceProvider.
14+
*
15+
* @return preferred UiAppearanceProvider (if any)
16+
* @since 1.1.0
17+
*/
1218
static Optional<UiAppearanceProvider> get() {
1319
return IntegrationsLoader.load(UiAppearanceProvider.class);
1420
}

0 commit comments

Comments
 (0)