VersionHistoryEntry(Integer versionCode, String versionName, Double timestamp) throws JSONException { setVersionCode(versionCode); setVersionName(versionName); setTimestamp(timestamp); }
public void setVersionName(String versionName) throws JSONException { put(KEY_VERSION_NAME, versionName); }
public boolean getOverrideStyle() { return optBoolean(KEY_STYLE_OVERRIDE); }
public Map<String, EventRecord> migrateCodePoints() throws JSONException { return migrateRecords(false); }
public static Selector parse(String name) { try { return Selector.valueOf(name); } catch (IllegalArgumentException e) { // Ignore } return other; } }
public int getVersionCode() { return optInt(KEY_VERSION_CODE); }
static void performMigrationIfNeeded() { performMigrationIfNeededV1ToV2(); }
public String getVersionName() { return optString(KEY_VERSION_NAME, null); }
public Double getTimestamp() { return (Double) opt(KEY_TIMESTAMP); }
public void setTimestamp(Double timestamp) throws JSONException { put(KEY_TIMESTAMP, timestamp); } }
public boolean getInheritStyle() { return optBoolean(KEY_STYLE_INHERIT); }
public Map<String, EventRecord> migrateInteractions() throws JSONException { return migrateRecords(true); }
public void setVersionCode(Integer versionCode) throws JSONException { put(KEY_VERSION_CODE, versionCode); }
public boolean getDebug() { return optBoolean(KEY_DEBUG); }