Interface SubmissionPathPlanner<S extends VilleSubmissionFields>
- All Known Implementing Classes:
FlatSubmissionPathPlanner
,RangeSubmissionPathPlanner
public interface SubmissionPathPlanner<S extends VilleSubmissionFields>
Strategy interface for planning directory paths for a list of submissions.
-
Method Summary
-
Method Details
-
planPaths
Plans directory paths for the given submissions under the specified root directory.- Parameters:
submissions
- the list of submissions to organize (assumed sorted as needed)rootDir
- the root directory under which all submission folders will be created (e.g., "clones/")- Returns:
- a map of each submission to its target Path under the root directory
- Throws:
IllegalStateException
- if a path collision occurs (unlikely if getFolderName ensures uniqueness)
-