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
Fields Modifier and Type Field Description static String
CLASS_WHITELIST_FILE_NAME
-
Constructor Summary
Constructors Constructor Description BambooHomeDirectoryClassWhitelistProvider(@NotNull BootstrapManager bootstrapManager, @NotNull com.atlassian.event.api.EventPublisher eventPublisher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull Iterable<String>
getWhitelistedClasses()
Return names of classes that are allowed to be serialized and deserialized in Bamboo.
-
-
-
Field Detail
-
CLASS_WHITELIST_FILE_NAME
public static final String CLASS_WHITELIST_FILE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BambooHomeDirectoryClassWhitelistProvider
@Inject public BambooHomeDirectoryClassWhitelistProvider(@NotNull @NotNull BootstrapManager bootstrapManager, @NotNull @NotNull com.atlassian.event.api.EventPublisher eventPublisher)
-
-
Method Detail
-
getWhitelistedClasses
@NotNull public @NotNull Iterable<String> 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:
Class.getName()
-
-