Class DefaultJvmTestOperationDescriptor
- java.lang.Object
-
- org.gradle.tooling.events.internal.DefaultOperationDescriptor
-
- org.gradle.tooling.events.test.internal.DefaultTestOperationDescriptor
-
- org.gradle.tooling.events.test.internal.DefaultJvmTestOperationDescriptor
-
- All Implemented Interfaces:
OperationDescriptorWrapper,OperationDescriptor,JvmTestOperationDescriptor,TestOperationDescriptor
public final class DefaultJvmTestOperationDescriptor extends DefaultTestOperationDescriptor implements JvmTestOperationDescriptor
Implementation of theJvmTestOperationDescriptorinterface.
-
-
Constructor Summary
Constructors Constructor Description DefaultJvmTestOperationDescriptor(InternalJvmTestDescriptor internalJvmTestDescriptor, OperationDescriptor parent, JvmTestKind jvmTestKind, java.lang.String suiteName, java.lang.String className, java.lang.String methodName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetClassName()Returns the name of the test class, if any.JvmTestKindgetJvmTestKind()Returns what kind of test this is.java.lang.StringgetMethodName()Returns the name of the test method, if any.java.lang.StringgetSuiteName()Returns the name of the test suite, if any.-
Methods inherited from class org.gradle.tooling.events.internal.DefaultOperationDescriptor
getDisplayName, getInternalOperationDescriptor, getName, getParent, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.gradle.tooling.events.OperationDescriptor
getDisplayName, getName, getParent
-
-
-
-
Constructor Detail
-
DefaultJvmTestOperationDescriptor
public DefaultJvmTestOperationDescriptor(InternalJvmTestDescriptor internalJvmTestDescriptor, OperationDescriptor parent, JvmTestKind jvmTestKind, java.lang.String suiteName, java.lang.String className, java.lang.String methodName)
-
-
Method Detail
-
getJvmTestKind
public JvmTestKind getJvmTestKind()
Description copied from interface:JvmTestOperationDescriptorReturns what kind of test this is.- Specified by:
getJvmTestKindin interfaceJvmTestOperationDescriptor- Returns:
- The test kind.
-
getSuiteName
@Nullable public java.lang.String getSuiteName()
Description copied from interface:JvmTestOperationDescriptorReturns the name of the test suite, if any.- Specified by:
getSuiteNamein interfaceJvmTestOperationDescriptor- Returns:
- The name of the test suite.
-
getClassName
@Nullable public java.lang.String getClassName()
Description copied from interface:JvmTestOperationDescriptorReturns the name of the test class, if any.- Specified by:
getClassNamein interfaceJvmTestOperationDescriptor- Returns:
- The name of the test class.
-
getMethodName
@Nullable public java.lang.String getMethodName()
Description copied from interface:JvmTestOperationDescriptorReturns the name of the test method, if any.- Specified by:
getMethodNamein interfaceJvmTestOperationDescriptor- Returns:
- The name of the test method.
-
-