public class ShadowDetectionCheck extends BaseCheck<java.lang.Long>
PARAMETER_ACCEPT_PIERS, PARAMETER_BLACKLIST_COUNTRIES, PARAMETER_CHALLENGE, PARAMETER_FLAG, PARAMETER_WHITELIST_COUNTRIES, PARAMETER_WHITELIST_TAGS| Constructor and Description |
|---|
ShadowDetectionCheck(org.openstreetmap.atlas.utilities.configuration.Configuration configuration)
The default constructor that must be supplied.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Optional<CheckFlag> |
flag(org.openstreetmap.atlas.geography.atlas.items.AtlasObject object)
This is the actual function that will check to see whether the object needs to be flagged.
|
protected java.util.List<java.lang.String> |
getFallbackInstructions()
Method to implement for inheriting checks to return the default set of instruction formats
that will be the last resort in
BaseCheck.getLocalizedInstruction(int, Object[]) |
boolean |
validCheckForObject(org.openstreetmap.atlas.geography.atlas.items.AtlasObject object)
This function will validate if the supplied atlas object is valid for the check.
|
acceptPier, check, checkObjectFilter, clear, clearFlaggedIdentifiers, configurationKey, configurationKey, configurationValue, configurationValue, createFlag, createFlag, createFlag, createFlag, flags, getBlacklistCountries, getChallenge, getCheckName, getCountries, getFlaggedIdentifiers, getLocale, getLocalizedInstruction, getTaskIdentifier, getTaskIdentifier, getUniqueObjectIdentifier, getUniqueOSMIdentifier, isFlagged, logStatus, markAsFlagged, validCheckForCountrypublic ShadowDetectionCheck(org.openstreetmap.atlas.utilities.configuration.Configuration configuration)
configuration - the JSON configuration for this checkpublic boolean validCheckForObject(org.openstreetmap.atlas.geography.atlas.items.AtlasObject object)
object - the atlas object supplied by the Atlas-Checks framework for evaluationtrue if this object should be checkedprotected java.util.Optional<CheckFlag> flag(org.openstreetmap.atlas.geography.atlas.items.AtlasObject object)
protected java.util.List<java.lang.String> getFallbackInstructions()
BaseCheckBaseCheck.getLocalizedInstruction(int, Object[])getFallbackInstructions in class BaseCheck<java.lang.Long>