public class ClassLifecycleEvent extends ClassEvent implements LifecycleEvent
Constructor and Description |
---|
ClassLifecycleEvent(Class<?> testClass)
Create a new ClassLifecycleEvent for a specific Class.
|
ClassLifecycleEvent(Class<?> testClass,
LifecycleMethodExecutor executor)
Create a new ClassLifecycleEvent for a specific Class.
|
ClassLifecycleEvent(TestClass testClass)
Create a new ClassLifecycleEvent for a specific Class.
|
ClassLifecycleEvent(TestClass testClass,
LifecycleMethodExecutor executor)
Create a new ClassLifecycleEvent for a specific Class.
|
Modifier and Type | Method and Description |
---|---|
LifecycleMethodExecutor |
getExecutor()
Get the call back handler for this lifecycle method.
|
getTestClass
public ClassLifecycleEvent(Class<?> testClass)
testClass
- The source for this ClassEventpublic ClassLifecycleEvent(TestClass testClass)
testClass
- The source for this ClassEventpublic ClassLifecycleEvent(Class<?> testClass, LifecycleMethodExecutor executor)
testClass
- The source for this ClassEventexecutor
- A call back when the LifecycleMethod represented by this event should be invokedpublic ClassLifecycleEvent(TestClass testClass, LifecycleMethodExecutor executor)
testClass
- The source for this ClassEventexecutor
- A call back when the LifecycleMethod represented by this event should be invokedpublic LifecycleMethodExecutor getExecutor()
LifecycleEvent
getExecutor
in interface LifecycleEvent
Copyright © 2017 JBoss by Red Hat. All rights reserved.