Interface GidAgent.GidAdaptationResult

Enclosing interface:
GidAgent

public static interface GidAgent.GidAdaptationResult
Adaptation result object. The result key value pairs. Where the key is always the changed entity if any. And the value is a pair of newUUID<->oldUUID.
Since:
5.0.509
  • Method Summary

    Modifier and Type
    Method
    Description
    change(Entity entity)
    The changes result pairs.A pair of newUUID<->oldUUI for a given entity.
    The result key value pairs.
    boolean
    Returns true if this result contains no elements.
    int
    The result size.
  • Method Details

    • changes

      The result key value pairs. Where the key is always the changed entity if any. And the value is a pair of newUUID<->oldUUI.
      Returns:
      map of Entity<Pair<newUUID, oldUUID>>>
      Since:
      5.0.509
    • change

      @Nullable Pair<UUID,UUID> change(Entity entity)
      The changes result pairs.A pair of newUUID<->oldUUI for a given entity.
      Returns:
      map of Entity<Pair<newUUID, oldUUID>>>
      Since:
      5.0.509
    • isEmpty

      boolean isEmpty()
      Returns true if this result contains no elements.
      Returns:
      true on empty otherwise false
      Since:
      5.0.509
    • size

      int size()
      The result size. How many entities were changed.
      Returns:
      the size of the changed entities
      Since:
      5.0.509