On this page

compareRuntime(a, b): void
  • a {RuntimeSpec} first
  • b {RuntimeSpec} second
  • Returns: {0|1|-1} compare

filterRuntime(runtime, filter): void
  • runtime {RuntimeSpec} runtime
  • filter <object> filter function
  • Returns: {undefined|string|boolean|SortableSet} true/false if filter is constant for all runtimes, otherwise runtimes that are active

forEachRuntime(runtime, fn, deterministicOrder?): void
  • runtime {RuntimeSpec} runtime
  • fn <object> functor
  • deterministicOrder <boolean> enforce a deterministic order
  • Returns: {void}

getEntryRuntime(compilation, name, options?): RuntimeSpec
Attributes
compilation:<Compilation>
the compilation
name of the entry
optionally already received entry options
Returns:
{RuntimeSpec} runtime

getRuntimeKey(runtime): void
  • runtime {RuntimeSpec} runtime(s)
  • Returns: <string> key of runtimes

intersectRuntime(a, b): void
  • a {RuntimeSpec} first
  • b {RuntimeSpec} second
  • Returns: {RuntimeSpec} merged

keyToRuntime(key): RuntimeSpec
Attributes
key of runtimes
Returns:
{RuntimeSpec} runtime(s)

mergeRuntime(a, b): void
  • a {RuntimeSpec} first
  • b {RuntimeSpec} second
  • Returns: {RuntimeSpec} merged

mergeRuntimeCondition(a, b, runtime): void
  • a {RuntimeCondition} first
  • b {RuntimeCondition} second
  • runtime {RuntimeSpec} full runtime
  • Returns: {RuntimeCondition} result

mergeRuntimeConditionNonFalse(a, b, runtime): void
  • a {undefined|string|true|SortableSet} first
  • b {undefined|string|true|SortableSet} second
  • runtime {RuntimeSpec} full runtime
  • Returns: {undefined|string|true|SortableSet} result

mergeRuntimeOwned(a, b): void
  • a {RuntimeSpec} first (may be modified)
  • b {RuntimeSpec} second
  • Returns: {RuntimeSpec} merged

runtimeConditionToString(runtimeCondition): void
  • runtimeCondition {RuntimeCondition} runtime condition
  • Returns: <string> readable version

runtimeEqual(a, b): void
  • a {RuntimeSpec} first
  • b {RuntimeSpec} second
  • Returns: <boolean> true, when they are equal

runtimeToString(runtime): void
  • runtime {RuntimeSpec} runtime(s)
  • Returns: <string> readable version

subtractRuntime(a, b): void
  • a {RuntimeSpec} first
  • b {RuntimeSpec} second
  • Returns: {RuntimeSpec} result

subtractRuntimeCondition(a, b, runtime): void
  • a {RuntimeCondition} first
  • b {RuntimeCondition} second
  • runtime {RuntimeSpec} runtime
  • Returns: {RuntimeCondition} result