Interface PropertyExporter

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

public interface PropertyExporter extends PropertyNameSource, PropertySource
Interface for classes that can exporty 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