hudson.plugins.testlink.testng
Class Class

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

public class Class
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
Class()
          Default constructor.
 
Method Summary
 boolean addTestMethod(TestMethod testMethod)
          Adds a test method into the list of tags.
 java.lang.String getName()
          Retrieves the name.
 java.util.List<TestMethod> getTestMethods()
          Retrieves the list of tags.
 boolean removeTestMethod(TestMethod testMethod)
          Removes a test method from the list of tags.
 void setName(java.lang.String name)
          Sets the name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Class

public Class()
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

getTestMethods

public java.util.List<TestMethod> getTestMethods()
Retrieves the list of tags.

Returns:
the testMethods

addTestMethod

public boolean addTestMethod(TestMethod testMethod)
Adds a test method into the list of tags.

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

removeTestMethod

public boolean removeTestMethod(TestMethod testMethod)
Removes a test method from the list of tags.

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


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