Class ProvidenceInput
- java.lang.Object
-
- net.morimekta.providence.maven.util.ProvidenceInput
-
public class ProvidenceInput extends java.lang.Object
Input utility for providence maven plugins.
-
-
Constructor Summary
Constructors Constructor Description ProvidenceInput()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
format(java.time.Duration duration)
static java.util.Set<java.nio.file.Path>
getInputFiles(java.nio.file.Path baseDir, org.codehaus.plexus.components.io.fileselectors.IncludeExcludeFileSelector inputSelector, java.lang.String defaultInputInclude, boolean print_debug, org.apache.maven.plugin.logging.Log log)
Get the set of input files.
-
-
-
Method Detail
-
getInputFiles
public static java.util.Set<java.nio.file.Path> getInputFiles(@Nonnull java.nio.file.Path baseDir, org.codehaus.plexus.components.io.fileselectors.IncludeExcludeFileSelector inputSelector, @Nonnull java.lang.String defaultInputInclude, boolean print_debug, @Nonnull org.apache.maven.plugin.logging.Log log) throws org.apache.maven.plugin.MojoExecutionException
Get the set of input files.- Parameters:
baseDir
- The maven project base dir.inputSelector
- The input-exclude selector.defaultInputInclude
- The default input include (if not specified).print_debug
- Print debug info to maven log.log
- Maven logger instance.- Returns:
- The set of input files.
- Throws:
org.apache.maven.plugin.MojoExecutionException
- If parsing or checking input files failed.
-
format
public static java.lang.String format(java.time.Duration duration)
-
-