public class ZmakeTarget
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.List<JZtxtcmdAccessFileset> |
inputs |
java.lang.String |
name |
JZtxtcmdFilepath |
output
The output file of the target in the ready-to-use form in a JZcmd Script.
|
static java.lang.String |
sVersion
Version, history and license.
|
private JZtxtcmdExecuter.ExecuteLevel |
zgenlevel |
Constructor and Description |
---|
ZmakeTarget(JZtxtcmdExecuter.ExecuteLevel zgenlevel,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.util.List<JZtxtcmdFilepath> |
allInputFiles() |
java.util.List<JZtxtcmdFilepath> |
allInputFilesExpanded()
Prepares all files which are given with a parameter.
|
private java.util.List<JZtxtcmdFilepath> |
prepareFiles(java.util.List<JZtxtcmdAccessFileset> filesOrFilesets,
boolean expandFiles)
Prepares the input of the target.
|
java.lang.String |
toString() |
public static final java.lang.String sVersion
protected java.util.List<JZtxtcmdAccessFileset> inputs
public JZtxtcmdFilepath output
public final java.lang.String name
private final JZtxtcmdExecuter.ExecuteLevel zgenlevel
public ZmakeTarget(JZtxtcmdExecuter.ExecuteLevel zgenlevel, java.lang.String name)
public java.util.List<JZtxtcmdFilepath> allInputFiles() throws java.lang.NoSuchFieldException
java.lang.NoSuchFieldException
public java.util.List<JZtxtcmdFilepath> allInputFilesExpanded() throws java.lang.NoSuchFieldException
...target(..., accesspath &fileset1, accesspath & + fileset2, ...); ...target(..., file1+file2,...) ...target(..., file,...) ...target(..., fileset,...)All files and members of a fileset of this parameter are combined in one List which can be used as container for JZcmd script.
JZtxtcmdFilepath
independent of a special JZtxtcmdFileset
.java.lang.NoSuchFieldException
- If a Filepath uses a variable and this variable is not found.private java.util.List<JZtxtcmdFilepath> prepareFiles(java.util.List<JZtxtcmdAccessFileset> filesOrFilesets, boolean expandFiles) throws java.lang.NoSuchFieldException
filesOrFilesets
- A TargetInput contains either some files or some filesets or both.expandFiles
- true then resolve wildcards and return only existing files.java.lang.NoSuchFieldException
- If a Filepath has a variable, and that is not found.public java.lang.String toString()
toString
in class java.lang.Object