Interface CodestartFileStrategyHandler
- All Known Subinterfaces:
DefaultCodestartFileStrategyHandler
public interface CodestartFileStrategyHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<String,CodestartFileStrategyHandler> static final DefaultCodestartFileStrategyHandlerstatic final String -
Method Summary
Modifier and TypeMethodDescriptiondefault voidcheckNotEmptyCodestartFiles(List<TargetFile> codestartFiles) default voidcheckTargetDoesNotExist(Path targetPath) default voidcreateDirectories(Path targetPath) name()voidprocess(Path targetDirectory, String relativePath, List<TargetFile> codestartFiles, Map<String, Object> data) default void
-
Field Details
-
DEFAULT_STRATEGY
-
SKIP_FILE_IDENTIFIER
- See Also:
-
BY_NAME
-
-
Method Details
-
name
String name() -
process
void process(Path targetDirectory, String relativePath, List<TargetFile> codestartFiles, Map<String, Object> data) throws IOException- Throws:
IOException
-
checkNotEmptyCodestartFiles
-
checkTargetDoesNotExist
-
createDirectories
- Throws:
IOException
-
writeFile
- Throws:
IOException
-