public class PitConfiguration extends Configuration
| Modifier and Type | Class and Description |
|---|---|
static class |
PitConfiguration.PitConfigurationBuilder
Builder to create a
PitConfiguration instance. |
| Constructor and Description |
|---|
PitConfiguration()
Creates a configuration that suppresses the grading.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static PitConfiguration |
from(net.sf.json.JSONObject json)
Converts the specified JSON object to a new instance if
PitConfiguration. |
int |
getDetectedImpact() |
int |
getRatioImpact() |
int |
getUndetectedImpact() |
int |
hashCode() |
void |
setDetectedImpact(int detectedImpact) |
void |
setRatioImpact(int ratioImpact) |
void |
setUndetectedImpact(int undetectedImpact) |
getMaxScore, setMaxScorepublic PitConfiguration()
public static PitConfiguration from(net.sf.json.JSONObject json)
PitConfiguration.json - the json object to convertPitConfiguration instancepublic int getUndetectedImpact()
public void setUndetectedImpact(int undetectedImpact)
public int getDetectedImpact()
public void setDetectedImpact(int detectedImpact)
public int getRatioImpact()
public void setRatioImpact(int ratioImpact)
public boolean equals(Object o)
equals in class Configurationpublic int hashCode()
hashCode in class ConfigurationCopyright © 2016–2020. All rights reserved.