Class BambooHomeDirectoryClassWhitelistProvider
java.lang.Object
com.atlassian.bamboo.serialization.BambooHomeDirectoryClassWhitelistProvider
- All Implemented Interfaces:
SerializableClassWhitelistProvider
@Component
public class BambooHomeDirectoryClassWhitelistProvider
extends Object
implements SerializableClassWhitelistProvider
This component loads classname whitelist from $BAMBOO_HOME/xml-data/configuration/serialization-whitelist.list
and monitors it for further changes. All dynamic changes are broadcast with event.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBambooHomeDirectoryClassWhitelistProvider
(@NotNull BootstrapManager bootstrapManager, @NotNull com.atlassian.event.api.EventPublisher eventPublisher) -
Method Summary
Modifier and TypeMethodDescriptionReturn names of classes that are allowed to be serialized and deserialized in Bamboo.
-
Field Details
-
CLASS_WHITELIST_FILE_NAME
- See Also:
-
-
Constructor Details
-
BambooHomeDirectoryClassWhitelistProvider
@Inject public BambooHomeDirectoryClassWhitelistProvider(@NotNull @NotNull BootstrapManager bootstrapManager, @NotNull @NotNull com.atlassian.event.api.EventPublisher eventPublisher)
-
-
Method Details
-
getWhitelistedClasses
Description copied from interface:SerializableClassWhitelistProvider
Return names of classes that are allowed to be serialized and deserialized in Bamboo.- Specified by:
getWhitelistedClasses
in interfaceSerializableClassWhitelistProvider
- See Also:
-