com.rapidminer.operator
Class OperatorVersion
java.lang.Object
com.rapidminer.gui.tools.VersionNumber
com.rapidminer.operator.OperatorVersion
- All Implemented Interfaces:
- java.lang.Comparable<VersionNumber>
public class OperatorVersion
- extends VersionNumber
Operators can change their behaviour from one version to another.
Hence, their version is stored in the process XML file. If the behaviour
of an operator changes from, say, version 5.0.003 to 5.0.004, we can notify
the user in version 5.0.004. To that end, the method Operator.getCompatibilityLevel()
will return 5.0.003, whereas Operator.getIncompatibleVersionChanges() will return
[5.0.003] (or a superset thereof) in version [5.0.004], so that we can detect that the behavior changed.
Note: The version numbers always refer to the plugin the operator is loaded from.
If it is not loaded from a plugin, it refers to the RapidMiner version.
- Author:
- Simon Fischer
|
Constructor Summary |
OperatorVersion(int major,
int minor,
int buildNumber)
|
OperatorVersion(java.lang.String versionString)
Parses a version string of the form x.xx.xxx |
| Methods inherited from class com.rapidminer.gui.tools.VersionNumber |
compareTo, equals, getLongVersion, getMajorNumber, getMinorNumber, getPatchLevel, getShortVersion, hashCode, isAtLeast, isAtLeast, isAtMost, isAtMost, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
OperatorVersion
public OperatorVersion(java.lang.String versionString)
- Parses a version string of the form x.xx.xxx
- Throws:
java.lang.IllegalArgumentException - for malformed strings.
OperatorVersion
public OperatorVersion(int major,
int minor,
int buildNumber)
getLatestVersion
public static OperatorVersion getLatestVersion(OperatorDescription desc)
Copyright © 2001-2009 by Rapid-I