Class BatchesScriptServices

  • All Implemented Interfaces:
    org.xwiki.script.service.ScriptService

    @Component
    @Named("confluenceBatches")
    @Singleton
    public class BatchesScriptServices
    extends Object
    implements org.xwiki.script.service.ScriptService
    Expose various methods needed for the batch migrations.
    Since:
    1.30.2
    Version:
    $Id$
    • Constructor Detail

      • BatchesScriptServices

        public BatchesScriptServices()
    • Method Detail

      • computeBatchSize

        public String computeBatchSize​(List<String> paths)
        Computes the size of a batch.
        Parameters:
        paths - files that form the batch
        Returns:
        size of the batch