Class SingleFileExportProvider
- java.lang.Object
-
- org.keycloak.exportimport.singlefile.SingleFileExportProvider
-
- All Implemented Interfaces:
ExportProvider
,Provider
public class SingleFileExportProvider extends Object implements ExportProvider
- Author:
- Marek Posolda
-
-
Constructor Summary
Constructors Constructor Description SingleFileExportProvider(File file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
exportModel(KeycloakSessionFactory factory)
void
exportRealm(KeycloakSessionFactory factory, String realmName)
void
setFile(File file)
-
-
-
Constructor Detail
-
SingleFileExportProvider
public SingleFileExportProvider(File file)
-
-
Method Detail
-
setFile
public void setFile(File file)
-
exportModel
public void exportModel(KeycloakSessionFactory factory) throws IOException
- Specified by:
exportModel
in interfaceExportProvider
- Throws:
IOException
-
exportRealm
public void exportRealm(KeycloakSessionFactory factory, String realmName) throws IOException
- Specified by:
exportRealm
in interfaceExportProvider
- Throws:
IOException
-
-