public class MatlabScoresConfiguration extends FocusScoreConfiguration
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIGURATION_ID
The identifier for this configuration.
|
Constructor and Description |
---|
MatlabScoresConfiguration()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
checkConfiguration()
Checks the current state of the configuration.
|
java.lang.Object |
clone() |
MatlabScoreType |
getScoreAlgorithm() |
java.lang.String |
getTypeIdentifier()
Returns a unique identifier for this configuration type.
|
void |
setScoreAlgorithm(MatlabScoreType scoreAlgorithm)
Sets the algorithm for the focus score calculation.
|
public static final java.lang.String CONFIGURATION_ID
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class FocusScoreConfiguration
java.lang.CloneNotSupportedException
public java.lang.String getTypeIdentifier()
Configuration
public void setScoreAlgorithm(MatlabScoreType scoreAlgorithm)
scoreAlgorithm
- public MatlabScoreType getScoreAlgorithm()
public void checkConfiguration() throws ConfigurationException
Configuration
ConfigurationException
is thrown describing the error, and what has to be changed in the configuration, by the user,
such that it becomes valid. This error can then e.g. be displayed to the user
(see ConfigurationAddonTools.displayConfigurationInvalid(ConfigurationException, YouScopeClient).checkConfiguration
in interface Configuration
checkConfiguration
in class ResourceConfiguration
ConfigurationException