Class SingleFileImportProvider
- java.lang.Object
- 
- org.keycloak.exportimport.AbstractFileBasedImportProvider
- 
- org.keycloak.exportimport.singlefile.SingleFileImportProvider
 
 
- 
- All Implemented Interfaces:
- ImportProvider,- Provider
 
 public class SingleFileImportProvider extends AbstractFileBasedImportProvider - Author:
- Marek Posolda
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected Map<String,RealmRepresentation>realmReps
 - 
Constructor SummaryConstructors Constructor Description SingleFileImportProvider(KeycloakSessionFactory factory, File file, Strategy strategy)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckRealmReps()voidclose()voidimportModel()booleanisMasterRealmExported()- 
Methods inherited from class org.keycloak.exportimport.AbstractFileBasedImportProviderparseFile
 
- 
 
- 
- 
- 
Field Detail- 
realmRepsprotected Map<String,RealmRepresentation> realmReps 
 
- 
 - 
Constructor Detail- 
SingleFileImportProviderpublic SingleFileImportProvider(KeycloakSessionFactory factory, File file, Strategy strategy) 
 
- 
 - 
Method Detail- 
importModelpublic void importModel() throws IOException- Throws:
- IOException
 
 - 
isMasterRealmExportedpublic boolean isMasterRealmExported() throws IOException- Returns:
- true, if master realm was previously exported and is available in the data to be imported
- Throws:
- IOException
 
 - 
checkRealmRepsprotected void checkRealmReps() throws IOException- Throws:
- IOException
 
 - 
closepublic void close() 
 
- 
 
-