|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectprotoj.lang.ArchiveEntry<T>
public final class ArchiveEntry<T>
Holds the information to be used when configuring an archive.
| Constructor Summary | |
|---|---|
ArchiveEntry(java.lang.String name,
ArchiveFeature parent,
java.lang.String fileName,
java.lang.String manifest,
java.lang.String includes,
java.lang.String excludes,
ArgRunnable<T> config)
See the corresponding property accessors. |
|
| Method Summary | |
|---|---|
AssembleTask |
createAssembleTask(java.io.File assembleDir)
Returns a task that will create the archive in the ProjectLayout.getArchiveDir() directory. |
java.io.File |
getArtifact()
The archive file. |
ArgRunnable<T> |
getConfig()
Used to specify any additional configuration. |
java.lang.String |
getExcludes()
The ant pattern used to specify the resources to be excluded from the archive. |
java.lang.String |
getIncludes()
The ant pattern used to specify the resources to be included in the archive. |
java.lang.String |
getManifest()
The name of the manifest file without the extension. |
java.util.List<java.lang.String> |
getMergeArchives()
Those artifacts that are to be merged during artifact creation. |
java.lang.String |
getName()
The name of this archive entry without any file extention. |
ArchiveFeature |
getParent()
The parent parent. |
void |
initMergeArchives(java.io.FilenameFilter filter)
Specifies that source archives in the ProjectLayout.getLibDir()
that get past the specified filter should get merged during creation of
the current archive. |
void |
initMergeArchives(java.lang.String... archives)
Any additional archives in the ProjectLayout.getLibDir()
directory that should get merged during creation of the archive. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArchiveEntry(java.lang.String name,
ArchiveFeature parent,
java.lang.String fileName,
java.lang.String manifest,
java.lang.String includes,
java.lang.String excludes,
ArgRunnable<T> config)
name - parent - fileName - manifest - includes - excludes - config - | Method Detail |
|---|
public void initMergeArchives(java.lang.String... archives)
ProjectLayout.getLibDir()
directory that should get merged during creation of the archive.
archives - public void initMergeArchives(java.io.FilenameFilter filter)
ProjectLayout.getLibDir()
that get past the specified filter should get merged during creation of
the current archive.
filter - public AssembleTask createAssembleTask(java.io.File assembleDir)
ProjectLayout.getArchiveDir() directory. Any additional archives
specified by getMergeArchives() will also be merged into the
final created jar file.
assembleDir -
public java.io.File getArtifact()
public java.lang.String getName()
public ArgRunnable<T> getConfig()
public java.lang.String getExcludes()
public java.lang.String getIncludes()
public java.lang.String getManifest()
public ArchiveFeature getParent()
public java.util.List<java.lang.String> getMergeArchives()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||