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 theJvmTestOperationDescriptor
interface.
-
-
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.String
getClassName()
Returns the name of the test class, if any.JvmTestKind
getJvmTestKind()
Returns what kind of test this is.java.lang.String
getMethodName()
Returns the name of the test method, if any.java.lang.String
getSuiteName()
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:JvmTestOperationDescriptor
Returns what kind of test this is.- Specified by:
getJvmTestKind
in interfaceJvmTestOperationDescriptor
- Returns:
- The test kind.
-
getSuiteName
@Nullable public java.lang.String getSuiteName()
Description copied from interface:JvmTestOperationDescriptor
Returns the name of the test suite, if any.- Specified by:
getSuiteName
in interfaceJvmTestOperationDescriptor
- Returns:
- The name of the test suite.
-
getClassName
@Nullable public java.lang.String getClassName()
Description copied from interface:JvmTestOperationDescriptor
Returns the name of the test class, if any.- Specified by:
getClassName
in interfaceJvmTestOperationDescriptor
- Returns:
- The name of the test class.
-
getMethodName
@Nullable public java.lang.String getMethodName()
Description copied from interface:JvmTestOperationDescriptor
Returns the name of the test method, if any.- Specified by:
getMethodName
in interfaceJvmTestOperationDescriptor
- Returns:
- The name of the test method.
-
-