Package io.helidon.microprofile.testing
Class HelidonTestInfo.ClassInfo
java.lang.Object
io.helidon.microprofile.testing.HelidonTestInfo.ClassInfo
- All Implemented Interfaces:
- HelidonTestDescriptor<Class<?>>,- HelidonTestInfo<Class<?>>
- Enclosing interface:
- HelidonTestInfo<T extends AnnotatedElement>
public static final class HelidonTestInfo.ClassInfo
extends Object
implements HelidonTestInfo<Class<?>>
Class info.
- 
Nested Class SummaryNested classes/interfaces inherited from interface io.helidon.microprofile.testing.HelidonTestInfoHelidonTestInfo.ClassInfo, HelidonTestInfo.MethodInfo
- 
Method SummaryModifier and TypeMethodDescriptionaddBeans()Get the discoveredAddBeanannotations.Get the discoveredAddConfigBlockannotations.Get the discoveredAddConfigannotations.Get the discoveredAddConfigSourcemethods.Get the discoveredAddExtensionannotations.booleanaddJaxRs()Get the discoveredAddJaxRsannotation.<A extends Annotation>
 Stream<A> annotations(Class<A> aType) Get annotations.<A extends Annotation,C extends Annotation> 
 Stream<A> annotations(Class<A> aType, Class<C> cType, Function<C, A[]> function) Get annotations.Get the class info.Get the discoveredConfigurationannotation.booleanGet the value of the discoveredDisableDiscoveryannotation.Class<?> element()Get the annotated element.booleaninthashCode()id()Get the id.booleanGet the discovered value of@HelidonTest(pinningDetection = true).longGet the discovered value of@HelidonTest(pinningThreshold = 50).booleanGet the discovered value of@HelidonTest(resetPerTest = true).Class<?> Get the test class.toString()Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.helidon.microprofile.testing.HelidonTestDescriptoraddBeans, addConfigBlocks, addConfigs, addConfigSources, addExtensions, addJaxRs, annotations, annotations, configuration, containsAnnotation, containsExtension, disableDiscovery, element, pinningDetection, pinningThreshold, resetPerTestMethods inherited from interface io.helidon.microprofile.testing.HelidonTestInforequiresReset, testMethod
- 
Method Details- 
idDescription copied from interface:HelidonTestInfoGet the id.- Specified by:
- idin interface- HelidonTestInfo<Class<?>>
- Returns:
- id
 
- 
testClassDescription copied from interface:HelidonTestInfoGet the test class.- Specified by:
- testClassin interface- HelidonTestInfo<Class<?>>
- Returns:
- test class
 
- 
classInfoDescription copied from interface:HelidonTestInfoGet the class info.- Specified by:
- classInfoin interface- HelidonTestInfo<Class<?>>
- Returns:
- ClassInfo
 
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
- 
elementDescription copied from interface:HelidonTestDescriptorGet the annotated element.- Specified by:
- elementin interface- HelidonTestDescriptor<T extends AnnotatedElement>
- Returns:
- element
 
- 
resetPerTestpublic boolean resetPerTest()Description copied from interface:HelidonTestDescriptorGet the discovered value of@HelidonTest(resetPerTest = true).- Specified by:
- resetPerTestin interface- HelidonTestDescriptor<T extends AnnotatedElement>
- Returns:
- resetPerTestvalue
 
- 
pinningDetectionpublic boolean pinningDetection()Description copied from interface:HelidonTestDescriptorGet the discovered value of@HelidonTest(pinningDetection = true).- Specified by:
- pinningDetectionin interface- HelidonTestDescriptor<T extends AnnotatedElement>
- Returns:
- pinningDetectionvalue
 
- 
pinningThresholdpublic long pinningThreshold()Description copied from interface:HelidonTestDescriptorGet the discovered value of@HelidonTest(pinningThreshold = 50).- Specified by:
- pinningThresholdin interface- HelidonTestDescriptor<T extends AnnotatedElement>
- Returns:
- pinningThresholdvalue
 
- 
addExtensionsDescription copied from interface:HelidonTestDescriptorGet the discoveredAddExtensionannotations.- Specified by:
- addExtensionsin interface- HelidonTestDescriptor<T extends AnnotatedElement>
- Returns:
- annotations
 
- 
addBeansDescription copied from interface:HelidonTestDescriptorGet the discoveredAddBeanannotations.- Specified by:
- addBeansin interface- HelidonTestDescriptor<T extends AnnotatedElement>
- Returns:
- annotations
 
- 
addJaxRspublic boolean addJaxRs()Description copied from interface:HelidonTestDescriptorGet the discoveredAddJaxRsannotation.- Specified by:
- addJaxRsin interface- HelidonTestDescriptor<T extends AnnotatedElement>
- Returns:
- trueif the annotation is present
 
- 
disableDiscoverypublic boolean disableDiscovery()Description copied from interface:HelidonTestDescriptorGet the value of the discoveredDisableDiscoveryannotation.- Specified by:
- disableDiscoveryin interface- HelidonTestDescriptor<T extends AnnotatedElement>
- Returns:
- DisableDiscovery.value()or- falseif not found
 
- 
configurationDescription copied from interface:HelidonTestDescriptorGet the discoveredConfigurationannotation.- Specified by:
- configurationin interface- HelidonTestDescriptor<T extends AnnotatedElement>
- Returns:
- annotation
 
- 
addConfigsDescription copied from interface:HelidonTestDescriptorGet the discoveredAddConfigannotations.- Specified by:
- addConfigsin interface- HelidonTestDescriptor<T extends AnnotatedElement>
- Returns:
- annotations
 
- 
addConfigBlocksDescription copied from interface:HelidonTestDescriptorGet the discoveredAddConfigBlockannotations.- Specified by:
- addConfigBlocksin interface- HelidonTestDescriptor<T extends AnnotatedElement>
- Returns:
- annotations
 
- 
addConfigSourcesDescription copied from interface:HelidonTestDescriptorGet the discoveredAddConfigSourcemethods.- Specified by:
- addConfigSourcesin interface- HelidonTestDescriptor<T extends AnnotatedElement>
- Returns:
- annotations
 
- 
annotationspublic <A extends Annotation,C extends Annotation> Stream<A> annotations(Class<A> aType, Class<C> cType, Function<C, A[]> function) Description copied from interface:HelidonTestDescriptorGet annotations.- Specified by:
- annotationsin interface- HelidonTestDescriptor<T extends AnnotatedElement>
- Type Parameters:
- A- annotation type
- C- container type
- Parameters:
- aType- annotation type
- cType- annotation container type
- function- function to inflate from container
- Returns:
- annotations
 
- 
annotationsDescription copied from interface:HelidonTestDescriptorGet annotations.- Specified by:
- annotationsin interface- HelidonTestDescriptor<T extends AnnotatedElement>
- Type Parameters:
- A- annotation type
- Parameters:
- aType- annotation type
- Returns:
- annotations
 
 
-