public class MigrationModelAdapter extends AbstractMongoAdapter<MongoMigrationModelEntity> implements MigrationModel
Modifier and Type | Field and Description |
---|---|
protected MongoMigrationModelEntity |
entity |
invocationContext
LATEST_VERSION
Constructor and Description |
---|
MigrationModelAdapter(KeycloakSession session,
MongoMigrationModelEntity entity,
MongoStoreInvocationContext invContext) |
Modifier and Type | Method and Description |
---|---|
MongoMigrationModelEntity |
getMongoEntity() |
String |
getStoredVersion() |
void |
setStoredVersion(String version) |
equals, getMongoStore, hashCode, updateMongoEntity
protected final MongoMigrationModelEntity entity
public MigrationModelAdapter(KeycloakSession session, MongoMigrationModelEntity entity, MongoStoreInvocationContext invContext)
public MongoMigrationModelEntity getMongoEntity()
getMongoEntity
in class AbstractMongoAdapter<MongoMigrationModelEntity>
public String getStoredVersion()
getStoredVersion
in interface MigrationModel
public void setStoredVersion(String version)
setStoredVersion
in interface MigrationModel
Copyright © 2016 JBoss by Red Hat. All rights reserved.