Class InitialDataAutoConfiguration.InitialDataProperties
java.lang.Object
com.broadleafcommerce.asset.autoconfigure.InitialDataAutoConfiguration.InitialDataProperties
- Enclosing class:
- InitialDataAutoConfiguration
@ConfigurationProperties("broadleaf.asset.data")
public static class InitialDataAutoConfiguration.InitialDataProperties
extends Object
Configuration properties for loading any initial asset data on startup.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents a file to be uploaded to a certain context. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFiles()The set of zip files to import assets from.booleanDetermines whether or not to load the initial asset data based on the givenfiles.voidThe set of zip files to import assets from.voidsetLoadOnStartup(boolean loadOnStartup) Determines whether or not to load the initial asset data based on the givenfiles.
-
Constructor Details
-
InitialDataProperties
public InitialDataProperties()
-
-
Method Details
-
isLoadOnStartup
public boolean isLoadOnStartup()Determines whether or not to load the initial asset data based on the givenfiles. -
setLoadOnStartup
public void setLoadOnStartup(boolean loadOnStartup) Determines whether or not to load the initial asset data based on the givenfiles. -
getFiles
The set of zip files to import assets from. If empty, no assets will be imported. -
setFiles
The set of zip files to import assets from. If empty, no assets will be imported.
-