Class RobotSpecification

java.lang.Object
robocode.control.RobotSpecification
All Implemented Interfaces:
Serializable

public class RobotSpecification extends Object implements Serializable
Defines the properties of a robot, which is returned from RobocodeEngine.getLocalRepository().
Author:
Mathew A. Nelson (original), Flemming N. Larsen (contributor)
See Also:
  • Method Details

    • getName

      public String getName()
      Returns the name of this robot or team.
      Returns:
      the name of this robot or team.
      See Also:
    • getVersion

      public String getVersion()
      Returns the version of this robot or team.
      Returns:
      the version of this robot or team.
      See Also:
    • getNameAndVersion

      public String getNameAndVersion()
      Returns the name and version of this robot or team.
      Returns:
      the name and version of this robot or team.
      Since:
      1.3
      See Also:
    • getClassName

      public String getClassName()
      Returns the full class name of this robot or team.
      Returns:
      the full class name of this robot or team.
    • getJarFile

      public File getJarFile()
      Returns the JAR file containing this robot or team, or null if it does not come from a JAR file (could be class files instead).
      Returns:
      the JAR file containing this robot or team, or null if it does not come from a JAR file (could be class files instead).
    • getDescription

      public String getDescription()
      Returns the description provided by the author of this robot or team.
      Returns:
      the description provided by the author of this robot or team.
    • getRobocodeVersion

      public String getRobocodeVersion()
      Returns the version of Robocode this robot or team was build with.
      Returns:
      the version of Robocode this robot or team was build with.
    • getWebpage

      public String getWebpage()
      Returns the link to the web page for this robot or team.
      Returns:
      the link to the web page for this robot or team.
    • getAuthorName

      public String getAuthorName()
      Returns the name of the author of this robot or team.
      Returns:
      the name of the author of this robot or team.
    • getTeamId

      public String getTeamId()
      Returns id of the team in current battle.
      Returns:
      id of the team in current battle.