public class ProjectUpgrader10to11 extends Object implements ProjectUpgrader
| Constructor and Description |
|---|
ProjectUpgrader10to11() |
| Modifier and Type | Method and Description |
|---|---|
String |
getResultingVersion() |
static String |
getVersion(com.google.gson.JsonElement root)
Returns project version.
|
static com.google.gson.JsonElement |
setVersion(com.google.gson.JsonElement root,
String newVersion)
Set project vesion to newVersion.
|
com.google.gson.JsonElement |
upgrade(com.google.gson.JsonElement sourceElement) |
public com.google.gson.JsonElement upgrade(com.google.gson.JsonElement sourceElement)
upgrade in interface ProjectUpgraderpublic static com.google.gson.JsonElement setVersion(com.google.gson.JsonElement root,
String newVersion)
root - newVersion - public static String getVersion(com.google.gson.JsonElement root)
root - public String getResultingVersion()
getResultingVersion in interface ProjectUpgraderCopyright © 2016. All Rights Reserved.