public class BackendTypeHelper extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BackendTypeHelper.BackendTypeUIAdapter
Adaptor to allow backend type selection in UIs.
|
Constructor and Description |
---|
BackendTypeHelper()
Creates a new backend type helper.
|
Modifier and Type | Method and Description |
---|---|
static String |
filterSchemaBackendName(String dsCfgBackendName)
Filter the provided backend name by removing the backend suffix.
|
static BackendTypeHelper.BackendTypeUIAdapter |
getBackendTypeAdapter(String backendName)
Return a BackendTypeUIAdapter which adapts the backend identified by the
provided backend name.
|
List<org.forgerock.opendj.config.ManagedObjectDefinition<? extends org.forgerock.opendj.server.config.client.BackendCfgClient,? extends org.forgerock.opendj.server.config.server.BackendCfg>> |
getBackendTypes()
Returns the available backend types.
|
BackendTypeHelper.BackendTypeUIAdapter[] |
getBackendTypeUIAdaptors()
Return a list which contains all available backend type adapted for UI.
|
String |
getPrintableBackendTypeNames()
Returns a user friendly
String which contains all available backend types. |
public BackendTypeHelper()
public static String filterSchemaBackendName(String dsCfgBackendName)
dsCfgBackendName
- The backend namepublic List<org.forgerock.opendj.config.ManagedObjectDefinition<? extends org.forgerock.opendj.server.config.client.BackendCfgClient,? extends org.forgerock.opendj.server.config.server.BackendCfg>> getBackendTypes()
public String getPrintableBackendTypeNames()
String
which contains all available backend types.String
which contains all available backend types.public BackendTypeHelper.BackendTypeUIAdapter[] getBackendTypeUIAdaptors()
public static BackendTypeHelper.BackendTypeUIAdapter getBackendTypeAdapter(String backendName)
backendName
- the backend name which identifies the backend to adapt.Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.