Class ApplicationTagsFactory
java.lang.Object
com.wavefront.spring.autoconfigure.ApplicationTagsFactory
Factory that can be used to create an
ApplicationTags.- Author:
- Stephane Nicoll
-
Constructor Summary
ConstructorsConstructorDescriptionCreate an instance with no further customization.ApplicationTagsFactory(List<ApplicationTagsBuilderCustomizer> customizers)Create an instance with the specifiedcustomizers. -
Method Summary
Modifier and TypeMethodDescriptioncom.wavefront.sdk.common.application.ApplicationTagscreateFromEnvironment(org.springframework.core.env.Environment environment)Create anApplicationTagsfrom theEnvironment.
-
Constructor Details
-
ApplicationTagsFactory
Create an instance with the specifiedcustomizers.- Parameters:
customizers- the customizers (can benull).
-
ApplicationTagsFactory
public ApplicationTagsFactory()Create an instance with no further customization.
-
-
Method Details
-
createFromEnvironment
public com.wavefront.sdk.common.application.ApplicationTags createFromEnvironment(org.springframework.core.env.Environment environment)Create anApplicationTagsfrom theEnvironment.- Parameters:
environment- the environment- Returns:
- a matching
ApplicationTags
-