forked from openhab/openhab-addons
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
130 changed files
with
4,981 additions
and
1,397 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 0 additions & 20 deletions
20
....signal/src/3rdparty/java/org/asamk/signal/manager/actions/RetrieveStorageDataAction.java
This file was deleted.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
...ding.signal/src/3rdparty/java/org/asamk/signal/manager/actions/SyncStorageDataAction.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package org.asamk.signal.manager.actions; | ||
|
||
import org.asamk.signal.manager.helper.Context; | ||
import org.asamk.signal.manager.jobs.SyncStorageJob; | ||
|
||
public class SyncStorageDataAction implements HandleAction { | ||
|
||
private static final SyncStorageDataAction INSTANCE = new SyncStorageDataAction(); | ||
|
||
private SyncStorageDataAction() { | ||
} | ||
|
||
public static SyncStorageDataAction create() { | ||
return INSTANCE; | ||
} | ||
|
||
@Override | ||
public void execute(Context context) throws Throwable { | ||
context.getJobExecutor().enqueueJob(new SyncStorageJob()); | ||
} | ||
} |
Oops, something went wrong.