接口的使用
org.springframework.boot.origin.Origin
使用Origin的程序包
程序包
说明
External configuration support allowing 'application.properties' to be loaded and used
within a Spring Boot application.
Support for
@ConfigurationProperties binding.Sources for external configuration properties.
Core interfaces and classes for working with Docker Compose.
Service connection support for Docker Compose.
Spring
Environment support.Support for item origin tracking.
General support for service connections in tests.
-
org.springframework.boot.context.config中Origin的使用
-
org.springframework.boot.context.properties.bind中Origin的使用
-
org.springframework.boot.context.properties.source中Origin的使用
-
org.springframework.boot.docker.compose.core中Origin的使用
修饰符和类型类说明final recordAn origin which points to a service defined in Docker Compose. -
org.springframework.boot.docker.compose.service.connection中Origin的使用
-
org.springframework.boot.env中Origin的使用
-
org.springframework.boot.origin中Origin的使用
修饰符和类型类说明classOriginfrom aPropertySource.classOriginfor an item loaded from the system environment.classOriginfor an item loaded from a text resource.修饰符和类型方法说明static OriginFind theOriginthat an object originated from.static OriginPropertySourceOrigin.get(PropertySource<?> propertySource, String name) static <K> OriginAttempt to look up the origin from the given source.Return the origin of the given key ornullif the origin cannot be determined.OriginProvider.getOrigin()Return the source origin ornullif the origin is not known.OriginTrackedResource.getOrigin()OriginTrackedValue.getOrigin()PropertySourceOrigin.getOrigin()Return the actual origin for the source if known.default OriginOrigin.getParent()Return the parent origin for this instance if there is one.PropertySourceOrigin.getParent()TextResourceOrigin.getParent()返回变量类型为Origin的类型的org.springframework.boot.origin中的方法修饰符和类型方法说明Origin.parentsFrom(Object source) Find the parents of theOriginthat an object originated from.参数类型为Origin的org.springframework.boot.origin中的方法修饰符和类型方法说明static OriginTrackedResourceReturn a neworigin trackedversion the givenResource.OriginTrackedResource.of(WritableResource resource, Origin origin) Return a neworigin trackedversion the givenWritableResource.static OriginTrackedValue参数类型为Origin的org.springframework.boot.origin中的构造器限定符构造器说明PropertySourceOrigin(PropertySource<?> propertySource, String propertyName, Origin origin) Create a newPropertySourceOrigininstance. -
org.springframework.boot.testcontainers.service.connection中Origin的使用