Class TagChangeOperation
- java.lang.Object
-
- org.openstreetmap.atlas.checks.maproulette.data.cooperative_challenge.CooperativeChallengeOperation
-
- org.openstreetmap.atlas.checks.maproulette.data.cooperative_challenge.TagChangeOperation
-
public class TagChangeOperation extends CooperativeChallengeOperation
This is the cooperative challenge model for Tag changes. Reference: https://github.com/osmlab/maproulette3/wiki/Cooperative-Challenges#creating-tag-fix-challenges
-
-
Field Summary
-
Fields inherited from class org.openstreetmap.atlas.checks.maproulette.data.cooperative_challenge.CooperativeChallengeOperation
DATA_KEY, ID_KEY, OPERATION_KEY, OPERATION_TYPE_KEY, OPERATIONS_KEY
-
-
Constructor Summary
Constructors Constructor Description TagChangeOperation(org.openstreetmap.atlas.geography.atlas.change.description.ChangeDescription changeDescription)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TagChangeOperationcreate()Using fields from theChangeDescriptionassociated with thisTagChangeOperation, create the operation it stands forprotected java.util.function.Predicate<org.openstreetmap.atlas.geography.atlas.change.description.descriptors.ChangeDescriptor>operationFilter()-
Methods inherited from class org.openstreetmap.atlas.checks.maproulette.data.cooperative_challenge.CooperativeChallengeOperation
getChangeDescriptorList, getIdentifier, getJson, getOperationType, setJson
-
-
-
-
Method Detail
-
create
public TagChangeOperation create()
Using fields from theChangeDescriptionassociated with thisTagChangeOperation, create the operation it stands for- Specified by:
createin classCooperativeChallengeOperation- Returns:
- this
TagChangeOperation
-
operationFilter
protected java.util.function.Predicate<org.openstreetmap.atlas.geography.atlas.change.description.descriptors.ChangeDescriptor> operationFilter()
- Specified by:
operationFilterin classCooperativeChallengeOperation
-
-