Annotation Type Port


  • @Retention(RUNTIME)
    public @interface Port
    The Port annotation is used to mark ports in the robot map. This allows RobotInspector to parse the robot map, and do validation as well as draw diagrams. This annotation is meant to be applied to static constants which represent port numbers.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      Port.Type type
      The type of port used on the RIO
    • Element Detail

      • type

        Port.Type type
        The type of port used on the RIO
        Returns:
        the type of the port