Package org.openstreetmap.josm.actions
Class JoinAreasAction.JoinAreasResult
- java.lang.Object
-
- org.openstreetmap.josm.actions.JoinAreasAction.JoinAreasResult
-
- Enclosing class:
- JoinAreasAction
public static class JoinAreasAction.JoinAreasResult extends java.lang.Object
This helper class describes join areas action result.
-
-
Field Summary
Fields Modifier and Type Field Description private booleanhasChangesprivate java.util.List<JoinAreasAction.Multipolygon>polygons
-
Constructor Summary
Constructors Constructor Description JoinAreasResult(boolean hasChanges, java.util.List<JoinAreasAction.Multipolygon> polygons)Constructs a newJoinAreasResult.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<JoinAreasAction.Multipolygon>getPolygons()Returns the result polygons, can be null.booleanhasChanges()Determines if the result has changes.
-
-
-
Field Detail
-
hasChanges
private final boolean hasChanges
-
polygons
private final java.util.List<JoinAreasAction.Multipolygon> polygons
-
-
Constructor Detail
-
JoinAreasResult
public JoinAreasResult(boolean hasChanges, java.util.List<JoinAreasAction.Multipolygon> polygons)
Constructs a newJoinAreasResult.- Parameters:
hasChanges- whether the result has changespolygons- the result polygons, can be null
-
-
Method Detail
-
hasChanges
public final boolean hasChanges()
Determines if the result has changes.- Returns:
trueif the result has changes
-
getPolygons
public final java.util.List<JoinAreasAction.Multipolygon> getPolygons()
Returns the result polygons, can be null.- Returns:
- the result polygons, can be null
-
-