This repository has been archived by the owner on Jul 26, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cont'd 'sy plugin list' command/operation; retrieve and parse from ap…
…i.syncany.org
- Loading branch information
1 parent
fcceb4c
commit a817fab
Showing
9 changed files
with
428 additions
and
111 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
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
95 changes: 0 additions & 95 deletions
95
syncany-lib/src/main/java/org/syncany/operations/PluginOperation.java
This file was deleted.
Oops, something went wrong.
94 changes: 94 additions & 0 deletions
94
syncany-lib/src/main/java/org/syncany/operations/plugin/PluginInfo.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,94 @@ | ||
/* | ||
* Syncany, www.syncany.org | ||
* Copyright (C) 2011-2014 Philipp C. Heckel <philipp.heckel@gmail.com> | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
package org.syncany.operations.plugin; | ||
|
||
import org.simpleframework.xml.Element; | ||
import org.simpleframework.xml.Root; | ||
|
||
@Root(name="pluginInfo") | ||
public class PluginInfo { | ||
@Element(name="pluginId", required=true) | ||
private String pluginId; | ||
|
||
@Element(name="pluginName", required=true) | ||
private String pluginName; | ||
|
||
@Element(name="pluginVersion", required=true) | ||
private String pluginVersion; | ||
|
||
@Element(name="appMinVersion", required=true) | ||
private String appMinVersion; | ||
|
||
@Element(name="sha256sum", required=true) | ||
private String sha256sum; | ||
|
||
@Element(name="downloadUrl", required=true) | ||
private String downloadUrl; | ||
|
||
public PluginInfo() { | ||
// Nothing. | ||
} | ||
|
||
public String getPluginId() { | ||
return pluginId; | ||
} | ||
|
||
public void setPluginId(String pluginId) { | ||
this.pluginId = pluginId; | ||
} | ||
|
||
public String getPluginName() { | ||
return pluginName; | ||
} | ||
|
||
public void setPluginName(String pluginName) { | ||
this.pluginName = pluginName; | ||
} | ||
|
||
public String getPluginVersion() { | ||
return pluginVersion; | ||
} | ||
|
||
public void setPluginVersion(String pluginVersion) { | ||
this.pluginVersion = pluginVersion; | ||
} | ||
|
||
public String getAppMinVersion() { | ||
return appMinVersion; | ||
} | ||
|
||
public void setAppMinVersion(String appMinVersion) { | ||
this.appMinVersion = appMinVersion; | ||
} | ||
|
||
public String getSha256sum() { | ||
return sha256sum; | ||
} | ||
|
||
public void setSha256sum(String sha256sum) { | ||
this.sha256sum = sha256sum; | ||
} | ||
|
||
public String getDownloadUrl() { | ||
return downloadUrl; | ||
} | ||
|
||
public void setDownloadUrl(String downloadUrl) { | ||
this.downloadUrl = downloadUrl; | ||
} | ||
} |
Oops, something went wrong.