Package org.guvnor.ala.util
Class RuntimeConfigHelper
- java.lang.Object
-
- org.guvnor.ala.util.RuntimeConfigHelper
-
public class RuntimeConfigHelper extends Object
Utility class for holding helper operations related to runtimes.
-
-
Constructor Summary
Constructors Constructor Description RuntimeConfigHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringbuildRuntimeName(RuntimeConfig config, String defaultName)Gets the runtime to be used given a runtime configuration.
-
-
-
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.
-
-