Package org.keycloak.models.jpa
Class MigrationModelAdapter
- java.lang.Object
-
- org.keycloak.models.jpa.MigrationModelAdapter
-
- All Implemented Interfaces:
MigrationModel
public class MigrationModelAdapter extends Object implements MigrationModel
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.persistence.EntityManager
em
protected MigrationModelEntity
latest
-
Constructor Summary
Constructors Constructor Description MigrationModelAdapter(javax.persistence.EntityManager em)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getResourcesTag()
Deprecated.String
getStoredVersion()
void
setStoredVersion(String version)
-
-
-
Field Detail
-
em
protected javax.persistence.EntityManager em
-
latest
protected MigrationModelEntity latest
-
-
Method Detail
-
getStoredVersion
public String getStoredVersion()
- Specified by:
getStoredVersion
in interfaceMigrationModel
-
getResourcesTag
@Deprecated public String getResourcesTag()
Deprecated.- Specified by:
getResourcesTag
in interfaceMigrationModel
-
setStoredVersion
public void setStoredVersion(String version)
- Specified by:
setStoredVersion
in interfaceMigrationModel
-
-