Interface TestcontainerBeanDefinition
- All Superinterfaces:
AttributeAccessor, BeanDefinition, BeanMetadataElement
Extended
BeanDefinition interface used
to register testcontainer beans.- Since:
- 3.1.0
- Author:
- Phillip Webb
-
Field Summary
Fields inherited from interface BeanDefinition
ROLE_APPLICATION, ROLE_INFRASTRUCTURE, ROLE_SUPPORT, SCOPE_PROTOTYPE, SCOPE_SINGLETON -
Method Summary
Modifier and TypeMethodDescriptionReturn any annotations declared alongside the container.@Nullable StringReturn the container image name ornullif the image name is not yet known.Methods inherited from interface AttributeAccessor
attributeNames, computeAttribute, getAttribute, hasAttribute, removeAttribute, setAttributeMethods inherited from interface BeanDefinition
getBeanClassName, getConstructorArgumentValues, getDependsOn, getDescription, getDestroyMethodName, getFactoryBeanName, getFactoryMethodName, getInitMethodName, getOriginatingBeanDefinition, getParentName, getPropertyValues, getResolvableType, getResourceDescription, getRole, getScope, hasConstructorArgumentValues, hasPropertyValues, isAbstract, isAutowireCandidate, isFallback, isLazyInit, isPrimary, isPrototype, isSingleton, setAutowireCandidate, setBeanClassName, setDependsOn, setDescription, setDestroyMethodName, setFactoryBeanName, setFactoryMethodName, setFallback, setInitMethodName, setLazyInit, setParentName, setPrimary, setRole, setScopeMethods inherited from interface BeanMetadataElement
getSource
-
Method Details
-
getContainerImageName
@Nullable String getContainerImageName()Return the container image name ornullif the image name is not yet known.- Returns:
- the container image name
-
getAnnotations
MergedAnnotations getAnnotations()Return any annotations declared alongside the container.- Returns:
- annotations declared with the container
-