hudson.plugins.testlink.testng
Class Test

java.lang.Object
  extended by hudson.plugins.testlink.testng.Test
All Implemented Interfaces:
java.io.Serializable

public class Test
extends java.lang.Object
implements java.io.Serializable

Represents the tag. This tag is child of the tag.

Since:
2.1
Author:
Bruno P. Kinoshita - http://www.kinoshita.eti.br
See Also:
Serialized Form

Constructor Summary
Test()
          Default constructor.
 
Method Summary
 boolean addClass(Class clazz)
          Adds a class into the list of tags.
 java.util.List<Class> getClasses()
          Retrieves the list of tags.
 java.lang.String getDurationMs()
          Retrieves the duration in ms.
 java.lang.String getFinishedAt()
          Retrieves the finishedAt.
 java.lang.String getName()
          Retrieves the name.
 java.lang.String getStartedAt()
          Retrieves the startedAt.
 boolean removeClass(Class clazz)
          Removes a class from the list of tags.
 void setDurationMs(java.lang.String durationMs)
          Sets the duration in ms.
 void setFinishedAt(java.lang.String finishedAt)
          Sets the finishedAt.
 void setName(java.lang.String name)
          Sets the name.
 void setStartedAt(java.lang.String startedAt)
          Sets the startedAt.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Test

public Test()
Default constructor. Initializes the list of tags.

Method Detail

getName

public java.lang.String getName()
Retrieves the name.

Returns:
the name

setName

public void setName(java.lang.String name)
Sets the name.

Parameters:
name - the name to set

getDurationMs

public java.lang.String getDurationMs()
Retrieves the duration in ms.

Returns:
the duration in ms

setDurationMs

public void setDurationMs(java.lang.String durationMs)
Sets the duration in ms.

Parameters:
durationMs - the duration to set

getStartedAt

public java.lang.String getStartedAt()
Retrieves the startedAt.

Returns:
the startedAt

setStartedAt

public void setStartedAt(java.lang.String startedAt)
Sets the startedAt.

Parameters:
startedAt - the startedAt to set

getFinishedAt

public java.lang.String getFinishedAt()
Retrieves the finishedAt.

Returns:
the finishedAt

setFinishedAt

public void setFinishedAt(java.lang.String finishedAt)
Sets the finishedAt.

Parameters:
finishedAt - the finishedAt to set

getClasses

public java.util.List<Class> getClasses()
Retrieves the list of tags.

Returns:
the classes

addClass

public boolean addClass(Class clazz)
Adds a class into the list of tags.

Parameters:
clazz - the class
Returns:
true if added sucessfully, otherwise false.

removeClass

public boolean removeClass(Class clazz)
Removes a class from the list of tags.

Parameters:
clazz - the class
Returns:
true if removed sucessfully, otherwise false.


Copyright © 2010-2011 the Jenkins TestLink plug-in team-2012 Jenkins. All Rights Reserved.