robocode.control
Class RobotSpecification

java.lang.Object
  extended by robocode.control.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() or

See Also:
Serialized Form

Method Summary
 java.lang.String getAuthorName()
          Returns the name of this robot's author.
 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.
 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 was based on.
 java.lang.String getTeamId()
           
 java.lang.String getVersion()
          Returns the version of this robot or team.
 java.lang.String getWebpage()
          Returns the web page for this robot.
 
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:
RobotSpecification.getVersion(), RobotSpecification.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:
RobotSpecification.getName(), RobotSpecification.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:
RobotSpecification.getName(), RobotSpecification.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.

Returns:
the description provided by the author of this robot.

getRobocodeVersion

public java.lang.String getRobocodeVersion()
Returns the version of Robocode this robot was based on.

Returns:
the version of Robocode this robot was based on.

getWebpage

public java.lang.String getWebpage()
Returns the web page for this robot.

Returns:
the web page for this robot.

getAuthorName

public java.lang.String getAuthorName()
Returns the name of this robot's author.

Returns:
the name of this robot's author.

getTeamId

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