Class RobotSpecification

  • All Implemented Interfaces:
    java.io.Serializable

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAuthorName()
      Returns the name of the author of this robot or team.
      java.lang.String getClassName()
      Returns the full class name of this robot or team.
      java.lang.String getDescription()
      Returns the description provided by the author of this robot or team.
      java.io.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).
      java.lang.String getName()
      Returns the name of this robot or team.
      java.lang.String getNameAndVersion()
      Returns the name and version of this robot or team.
      java.lang.String getRobocodeVersion()
      Returns the version of Robocode this robot or team was build with.
      java.lang.String getTeamId()
      Returns id of the team in current battle.
      java.lang.String getVersion()
      Returns the version of this robot or team.
      java.lang.String getWebpage()
      Returns the link to the web page for this robot or team.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getName

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

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

        public java.lang.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:
        getName(), getVersion()
      • getClassName

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

        public java.io.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.String getTeamId()
        Returns id of the team in current battle.
        Returns:
        id of the team in current battle.