Class Descriptor
- java.lang.Object
-
- net.ssehub.easy.reasoning.core.reasoner.ReasonerDescriptor
-
- net.ssehub.easy.reasoning.sseReasoner.Descriptor
-
public class Descriptor extends ReasonerDescriptor
A specific reasoner descriptor for AssignmentResolver reasoner.- Author:
- Holger Eichelberger, Phani, Sizonenko, El-Sharkawy
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringBUNDLE_NAMEThe ID of this bundle.private static java.lang.StringLICENSEstatic booleanLOGGINGstatic java.lang.StringNAMEstatic java.lang.StringVERSION
-
Constructor Summary
Constructors Constructor Description Descriptor()Creates a new reasoner descriptor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisReadyForUse()Returns whether this reasoner is licensed and valid so that it may be used.booleanprovidesAffectedVariables()Returns whether the reasoner provides information about the affected variables viaReasoningResult.getAffectedVariable(int).-
Methods inherited from class net.ssehub.easy.reasoning.core.reasoner.ReasonerDescriptor
addCapabilities, addCapability, getCapabilities, getCapabilityCount, getDownloadSource, getLicense, getLicenseRestriction, getName, getVersion, hasCapability
-
-
-
-
Field Detail
-
BUNDLE_NAME
public static final java.lang.String BUNDLE_NAME
The ID of this bundle. Maybe used for retrievingde.uni_hildesheim.sse.logger.EASyLoggerFactory.EASyLoggers.- See Also:
- Constant Field Values
-
LOGGING
public static final boolean LOGGING
- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
VERSION
public static final java.lang.String VERSION
- See Also:
- Constant Field Values
-
LICENSE
private static final java.lang.String LICENSE
- See Also:
- Constant Field Values
-
-
Method Detail
-
isReadyForUse
public boolean isReadyForUse()
Description copied from class:ReasonerDescriptorReturns whether this reasoner is licensed and valid so that it may be used.- Overrides:
isReadyForUsein classReasonerDescriptor- Returns:
trueif it is licensed and ready for use,trueif it is not ready, e.g., due to license restriction and a version shall be obtained viaReasonerDescriptor.getDownloadSource()
-
providesAffectedVariables
public boolean providesAffectedVariables()
Description copied from class:ReasonerDescriptorReturns whether the reasoner provides information about the affected variables viaReasoningResult.getAffectedVariable(int).- Overrides:
providesAffectedVariablesin classReasonerDescriptor- Returns:
trueif the reasoner provides this information,falseelse
-
-