Class BackendTypeHelper


  • public class BackendTypeHelper
    extends Object
    Helper class for setup applications. It helps applications to provide a backend type choice to the user.
    • Constructor Detail

      • BackendTypeHelper

        public BackendTypeHelper()
        Creates a new backend type helper.
    • Method Detail

      • filterSchemaBackendName

        public static String filterSchemaBackendName​(String dsCfgBackendName)
        Filter the provided backend name by removing the backend suffix.
        Parameters:
        dsCfgBackendName - The backend name
        Returns:
        The backend name with the '-backend' suffix filtered out
      • getBackendTypeUIAdaptors

        public BackendTypeHelper.BackendTypeUIAdapter[] getBackendTypeUIAdaptors()
        Return a list which contains all available backend type adapted for UI.
        Returns:
        a list which contains all available backend type adapted for UI
      • getBackendTypeAdapter

        public static BackendTypeHelper.BackendTypeUIAdapter getBackendTypeAdapter​(String backendName)
        Return a BackendTypeUIAdapter which adapts the backend identified by the provided backend name.
        Parameters:
        backendName - the backend name which identifies the backend to adapt.
        Returns:
        a BackendTypeUIAdapter which adapts the backend identified by the provided backend name.