public class AddProperty extends Object implements EntityMigrationOperation
| Constructor and Description | 
|---|
AddProperty(String property,
           Object defaultValue)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
downgrade(JSONObject state,
         StateStore stateStore,
         Migrator migrator)  | 
String | 
toString()  | 
boolean | 
upgrade(JSONObject state,
       StateStore stateStore,
       Migrator migrator)  | 
public boolean upgrade(JSONObject state, StateStore stateStore, Migrator migrator) throws JSONException
upgrade in interface EntityMigrationOperationJSONExceptionpublic boolean downgrade(JSONObject state, StateStore stateStore, Migrator migrator) throws JSONException
downgrade in interface EntityMigrationOperationJSONException