Class LoadParameters


  • public final class LoadParameters
    extends Object
    Parameters required for content load.
    • Constructor Detail

      • LoadParameters

        public LoadParameters()
    • Method Detail

      • contentPaths

        public List<String> contentPaths()
        Get the contentPaths property: The path to the content to be loaded. Path should be a relative file URL of the origin.
        Returns:
        the contentPaths value.
      • withContentPaths

        public LoadParameters withContentPaths​(List<String> contentPaths)
        Set the contentPaths property: The path to the content to be loaded. Path should be a relative file URL of the origin.
        Parameters:
        contentPaths - the contentPaths value to set.
        Returns:
        the LoadParameters object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.