Interface SystemDetails


  • public interface SystemDetails
    Details about an Arrowhead system, as they appear in various core service messages.
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      static se.arkalix.core.plugin.SystemDetailsDto from​(se.arkalix.ArSystem system)  
      static se.arkalix.core.plugin.SystemDetailsDto from​(se.arkalix.description.SystemDescription provider)  
      java.lang.String hostname()
      Hostname or textual representation of IP address of system.
      java.lang.String name()
      Name of system.
      int port()
      Port number.
      java.util.Optional<java.lang.String> publicKeyBase64()
      Public key of system, if running in secure mode.
      default se.arkalix.description.SystemDescription toSystemDescription()
      Converts this objects into a SystemDescription.
    • Method Detail

      • name

        java.lang.String name()
        Name of system.
      • hostname

        java.lang.String hostname()
        Hostname or textual representation of IP address of system.
      • port

        int port()
        Port number.
      • publicKeyBase64

        java.util.Optional<java.lang.String> publicKeyBase64()
        Public key of system, if running in secure mode.

        Must be the Base64 encoded variant of a DER-encoded PKCS#8 private key.

      • toSystemDescription

        default se.arkalix.description.SystemDescription toSystemDescription()
        Converts this objects into a SystemDescription.
        Returns:
        New SystemDescription.
        Throws:
        java.lang.RuntimeException - If the value returned by publicKeyBase64() is not a supported type of public key.
      • from

        static se.arkalix.core.plugin.SystemDetailsDto from​(se.arkalix.ArSystem system)
      • from

        static se.arkalix.core.plugin.SystemDetailsDto from​(se.arkalix.description.SystemDescription provider)