Class CoordinationHelper
java.lang.Object
eu.qualimaster.easy.extension.internal.CoordinationHelper
- All Implemented Interfaces:
net.ssehub.easy.instantiation.core.model.vilTypes.IVilType
public class CoordinationHelper
extends Object
implements net.ssehub.easy.instantiation.core.model.vilTypes.IVilType
Provides access to properties of the QM coordination layer.
- Author:
- Holger Eichelberger
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidsetInTesting(boolean testing) Changes this class to testing mode pretending that task re-allocation is always available.static booleanReturns whether this installation of the QualiMaster infrastructure supports runtime task re-allocation.
-
Field Details
-
inTesting
private static boolean inTesting
-
-
Constructor Details
-
CoordinationHelper
public CoordinationHelper()
-
-
Method Details
-
setInTesting
public static void setInTesting(boolean testing) Changes this class to testing mode pretending that task re-allocation is always available.- Parameters:
testing-truefor testing mode,falseelse
-
supportsTaskReallocation
public static boolean supportsTaskReallocation()Returns whether this installation of the QualiMaster infrastructure supports runtime task re-allocation.- Returns:
truefor runtime task re-allocation,falseelse
-