hudson.plugins.testlink.testng
Class Suite

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

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

Represents the tag.

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

Constructor Summary
Suite()
          Default constructor.
 
Method Summary
 boolean addTest(Test test)
          Adds a test into the list of tags.
 java.lang.String getDurationMs()
          Retrieves the duration in ms.
 java.lang.String getFile()
           
 java.lang.String getFinishedAt()
          Retrieves the finished at.
 java.lang.String getName()
          Retrieves the name.
 java.lang.String getStartedAt()
          Retrieves the started at.
 java.util.List<Test> getTests()
          Retrieves the list of tags.
 boolean removeTest(Test test)
          Removes a test from the list of tags.
 void setDurationMs(java.lang.String durationMs)
          Sets the duration in ms.
 void setFile(java.lang.String file)
           
 void setFinishedAt(java.lang.String finishedAt)
          Sets the finished at.
 void setName(java.lang.String name)
          Sets the name.
 void setStartedAt(java.lang.String startedAt)
          Sets the started at.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Suite

public Suite()
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 durationMs

setDurationMs

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

Parameters:
durationMs - the durationMs to set

getStartedAt

public java.lang.String getStartedAt()
Retrieves the started at.

Returns:
the startedAt

setStartedAt

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

Parameters:
startedAt - the startedAt to set

getFinishedAt

public java.lang.String getFinishedAt()
Retrieves the finished at.

Returns:
the finishedAt

setFinishedAt

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

Parameters:
finishedAt - the finishedAt to set

getTests

public java.util.List<Test> getTests()
Retrieves the list of tags.

Returns:
the tests

addTest

public boolean addTest(Test test)
Adds a test into the list of tags.

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

removeTest

public boolean removeTest(Test test)
Removes a test from the list of tags.

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

setFile

public void setFile(java.lang.String file)

getFile

public java.lang.String getFile()


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