public class SingleFileImportProvider extends Object implements ImportProvider
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,RealmRepresentation> |
realmReps |
| Constructor and Description |
|---|
SingleFileImportProvider(File file) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkRealmReps() |
void |
close() |
void |
importModel(KeycloakSessionFactory factory,
Strategy strategy) |
void |
importRealm(KeycloakSessionFactory factory,
String realmName,
Strategy strategy) |
boolean |
isMasterRealmExported() |
protected Map<String,RealmRepresentation> realmReps
public SingleFileImportProvider(File file)
public void importModel(KeycloakSessionFactory factory, Strategy strategy) throws IOException
importModel in interface ImportProviderIOExceptionpublic boolean isMasterRealmExported()
throws IOException
isMasterRealmExported in interface ImportProviderIOExceptionprotected void checkRealmReps()
throws IOException
IOExceptionpublic void importRealm(KeycloakSessionFactory factory, String realmName, Strategy strategy) throws IOException
importRealm in interface ImportProviderIOExceptionCopyright © 2016 JBoss by Red Hat. All rights reserved.