public abstract class Output
extends java.lang.Object
Output.SingleOutput,
Output.MultiOutput| Modifier and Type | Class and Description |
|---|---|
static class |
Output.ArchiveMultiOutput |
static class |
Output.FolderMultiOutput |
static class |
Output.MultiOutput
Represents an output capable of receiving multiple files,
such as an Archive or a Folder.
|
static class |
Output.PathArchiveMultiOutput |
static class |
Output.PipeArchiveMultiOutput |
static class |
Output.SingleOutput
Represents an output with a single file destination.
|
| Constructor and Description |
|---|
Output() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSamePath(Input input)
Used to compare if an input and an output point to the same underlying file.
|
abstract void |
validate(java.lang.String kind)
Check any preconditions about the output prior to any work occurring.
|
public abstract void validate(java.lang.String kind)
throws IOValidationException
Used to check if folder outputs are actually folders, or archives are actually zips, etc.
kind - Descriptive name of the output. I.E patches, outputs, rejects, etc.IOValidationExceptionpublic boolean isSamePath(Input input)
input - The input.