public class ReasonerHelper
extends java.lang.Object
| Constructor and Description |
|---|
ReasonerHelper() |
| Modifier and Type | Method and Description |
|---|---|
private static java.util.List<java.lang.String> |
appendMessage(java.util.List<java.lang.String> messages,
java.lang.String message)
Appends a message
text to the list of messages. |
private static java.util.List<java.lang.String> |
appendMessage(java.util.List<java.lang.String> messages,
java.lang.Throwable th)
Appends the message of
th to the list of messages. |
static ValueCreationResult |
createValue(net.ssehub.easy.varModel.confModel.Configuration cfg,
net.ssehub.easy.varModel.model.AbstractVariable var,
net.ssehub.easy.varModel.model.datatypes.IDatatype type,
ReasonerConfiguration reasonerConfiguration,
net.ssehub.easy.basics.progress.ProgressObserver observer)
Creates the value for a certain IVML type/variable.
|
public static ValueCreationResult createValue(net.ssehub.easy.varModel.confModel.Configuration cfg, net.ssehub.easy.varModel.model.AbstractVariable var, net.ssehub.easy.varModel.model.datatypes.IDatatype type, ReasonerConfiguration reasonerConfiguration, net.ssehub.easy.basics.progress.ProgressObserver observer)
value factory and does not do any reasoning.cfg - the configuration to operate on (will not be modified)var - the variable to create the value for (may be null if type is given, may imply
additional constraints, takes precedence over type)type - the type to create the value for (may be null if var is given)reasonerConfiguration - the reasoner configuration to be used for reasoning (e.g. taken from the UI,
may be null)observer - an optional progress observer, shall be ProgressObserver.NO_OBSERVER if unusedprivate static java.util.List<java.lang.String> appendMessage(java.util.List<java.lang.String> messages,
java.lang.Throwable th)
th to the list of messages.messages - the messages (may be null)th - the throwable to take the message frommessages or a new listprivate static java.util.List<java.lang.String> appendMessage(java.util.List<java.lang.String> messages,
java.lang.String message)
text to the list of messages.messages - the messages (may be null)message - the message to appendmessages or a new listCopyright © 2009 - 2018 SSE. All Rights Reserved.