org.testng.internal
Class MethodSelectorDescriptor

java.lang.Object
  extended by org.testng.internal.MethodSelectorDescriptor
All Implemented Interfaces:
java.lang.Comparable

public class MethodSelectorDescriptor
extends java.lang.Object
implements java.lang.Comparable

This class describes a method selector: - The class that implements it - Its priority Created on Sep 26, 2005

Author:
cbeust

Constructor Summary
MethodSelectorDescriptor(IMethodSelector selector, int priority)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 IMethodSelector getMethodSelector()
           
 int getPriority()
           
 void setTestMethods(java.util.List<ITestNGMethod> testMethods)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodSelectorDescriptor

public MethodSelectorDescriptor(IMethodSelector selector,
                                int priority)
Method Detail

getPriority

public int getPriority()

getMethodSelector

public IMethodSelector getMethodSelector()

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable

setTestMethods

public void setTestMethods(java.util.List<ITestNGMethod> testMethods)


Copyright © 2010. All Rights Reserved.