Interface PropertyExporter

All Superinterfaces:
Auditable, PropertyNameSource, PropertySource
All Known Implementing Classes:
ActionButton, AreaOfEffect, Attachment, BasicName, BasicPiece, BorderOutline, CalculatedProperty, Clone, Comment, CounterGlobalKeyCommand, Decorator, Delete, Deselect, DynamicProperty, Embellishment, Embellishment0, Footprint, FreeRotator, GlobalHotKey, Hideable, Immobilized, Labeler, Marker, Mat, MatCargo, MenuSeparator, MovementMarkable, MultiLocationCommand, NonRectangular, Obscurable, Pivot, PlaceMarker, PlaySound, PropertySheet, Replace, ReportState, RestrictCommands, Restricted, ReturnToDeck, SendToLocation, SetGlobalProperty, SetPieceProperty, SubMenu, TableInfo, TranslatableMessage, Translate, TriggerAction, UsePrototype

public interface PropertyExporter extends PropertyNameSource, PropertySource
Interface for classes that can export the names and values of the properties they maintain
  • Field Details

  • Method Details

    • getProperties

      default Map<String,Object> getProperties()
      Return a Map of properties
      Returns:
      Property Map
    • getProperties

      default Map<String,Object> getProperties(Map<String,Object> result)
      Update an existing Map of Properties and return the Map. Do not overwrite the value if a property with the same name already exists.
      Parameters:
      result - Map of properties
      Returns:
      Update property Map