Class ExecutableManager
- java.lang.Object
-
- com.cosium.code.format.executable.ExecutableManager
-
public class ExecutableManager extends Object
Created on 02/11/17.- Author:
- Reda.Housni-Alaoui
-
-
Constructor Summary
Constructors Constructor Description ExecutableManager(Supplier<org.apache.maven.plugin.logging.Log> log)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutablegetOrCreateExecutableScript(Path file)Get or creates a file then mark it as executable.
-
-
-
Constructor Detail
-
ExecutableManager
public ExecutableManager(Supplier<org.apache.maven.plugin.logging.Log> log)
-
-
Method Detail
-
getOrCreateExecutableScript
public Executable getOrCreateExecutableScript(Path file) throws IOException
Get or creates a file then mark it as executable.- Parameters:
file- The file- Throws:
IOException
-
-