org.openstreetmap.josm.plugins.streetside.history.commands

## Class StreetsideExecutableCommand

- java.lang.Object
- - org.openstreetmap.josm.plugins.streetside.history.commands.StreetsideCommand
  - - org.openstreetmap.josm.plugins.streetside.history.commands.StreetsideExecutableCommand

- Direct Known Subclasses:
    CommandImport, CommandJoin, CommandUnjoin

      public abstract class StreetsideExecutableCommand
      extends StreetsideCommand

  Superclass for those commands that must be executed after creation.

- - ### Field Summary

    - ### Fields inherited from class org.openstreetmap.josm.plugins.streetside.history.commands.StreetsideCommand

      `images`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `StreetsideExecutableCommand(Set<StreetsideAbstractImage> images)` Main constructor.

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract void` | `execute()` Executes the command.

    - ### Methods inherited from class org.openstreetmap.josm.plugins.streetside.history.commands.StreetsideCommand

      `redo, sum, toString, undo`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### StreetsideExecutableCommand

          public StreetsideExecutableCommand(Set<StreetsideAbstractImage> images)

      Main constructor.
      Parameters:
        `images` - The set of images affected by the command.

  - ### Method Detail

    - #### execute

          public abstract void execute()

      Executes the command. It is run when the command is added to the history record.

JOSM Plugins