Interface SharedResource

All Superinterfaces:
Resource, Serializable
All Known Implementing Classes:
Key, Mission

public interface SharedResource extends Resource
A station resource that can be shared with different stations. Implementing this interface will allow the resources to distributed between stations. Currently the process of distribution is bound to a mission, consequently the resources will be distributed to the station that owns the specified mission.
  • Method Details

    • getMissionUUID

      String getMissionUUID()
      Gets the resource's assigned MissionUUID.
      Returns:
      the missionUUID of the mission the resource is assigned to
    • isKey

      boolean isKey()
      Checks if the resource is a Key.
      Returns:
      true if the resource is a key, false otherwise.
    • isMission

      boolean isMission()
      Checks if resource is a Mission.
      Returns:
      true if the resource is a mission, false otherwise