Class RuntimeConfigHelper


  • public class RuntimeConfigHelper
    extends Object
    Utility class for holding helper operations related to runtimes.
    • Constructor Detail

      • RuntimeConfigHelper

        public RuntimeConfigHelper()
    • Method Detail

      • buildRuntimeName

        public static final String buildRuntimeName​(RuntimeConfig config,
                                                    String defaultName)
        Gets the runtime to be used given a runtime configuration.
        Parameters:
        config - a runtime configuration.
        defaultName - the by default name to be used in cases where no name was provided in the runtime configuration.
        Returns:
        the proper runtime name that must be used for the runtime.