org.keycloak.exportimport

## Interface ImportProvider

- All Superinterfaces:
    Provider
  All Known Implementing Classes:
    DirImportProvider, SingleFileImportProvider

      public interface ImportProvider
      extends Provider

  Author:
    Marek Posolda

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `importModel(KeycloakSessionFactory factory, Strategy strategy)`
    `void` | `importRealm(KeycloakSessionFactory factory, String realmName, Strategy strategy)`
    `boolean` | `isMasterRealmExported()`

    - ### Methods inherited from interface org.keycloak.provider.Provider

      `close`

- - ### Method Detail

    - #### importModel

          void importModel(KeycloakSessionFactory factory,
                           Strategy strategy)
                    throws IOException

      Throws:
        `IOException`

    - #### importRealm

          void importRealm(KeycloakSessionFactory factory,
                           String realmName,
                           Strategy strategy)
                    throws IOException

      Throws:
        `IOException`

    - #### isMasterRealmExported

          boolean isMasterRealmExported()
                                 throws IOException

      Returns:
        true if master realm was previously exported and is available in the data to be imported
      Throws:
        `IOException`

Copyright © 2020 JBoss by Red Hat. All rights reserved.