| Constructor and Description |
|---|
JarDirectoryStep(ProjectFilesystem filesystem,
JarParameters parameters)
Creates a JAR from the specified entries (most often, classpath entries).
|
| Modifier and Type | Method and Description |
|---|---|
StepExecutionResult |
execute(ExecutionContext context) |
String |
getDescription(ExecutionContext context) |
String |
getShortName() |
public JarDirectoryStep(ProjectFilesystem filesystem, JarParameters parameters)
If an entry is a directory, then its files are traversed and added to the generated JAR.
If an entry is a file, then it is assumed to be a ZIP/JAR file, and its entries will be read and copied to the generated JAR. @Param parameters the parameters that describe how to create the jar.
public String getShortName()
getShortName in interface Steppublic String getDescription(ExecutionContext context)
getDescription in interface Steppublic StepExecutionResult execute(ExecutionContext context) throws IOException
execute in interface StepIOException