public class DepFile
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<DepEntry> |
depEntries
represents a List of dependency entries.
|
| Modifier | Constructor and Description |
|---|---|
protected |
DepFile() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDepEntry(DepEntry depEntry)
add a dependency entries.
|
void |
addToArchive(ArchiveGenerator gen,
Module module)
Add a module to archive.
|
private void |
addToArchive2(ArchiveGenerator gen,
DepEntry entry,
java.util.List<Module> liste)
Add entry.getModule and dependencies to archive.
|
boolean |
equals(java.lang.Object other) |
java.util.List<DepEntry> |
getDepEntries()
getter for dependency entries.
|
DepEntry |
getEntryByModule(Module module)
get the Module to the Entry.
|
int |
hashCode() |
private final java.util.List<DepEntry> depEntries
public java.util.List<DepEntry> getDepEntries()
public void addDepEntry(DepEntry depEntry)
depEntry - the depEntrypublic void addToArchive(ArchiveGenerator gen, Module module) throws EntryNotFoundException, java.io.FileNotFoundException, CheckScriptException
gen - the ArchiveGenerator to usemodule - the module to add.EntryNotFoundException - if module or dependent module is not found.CheckScriptException - if it fails.java.io.FileNotFoundException - i ffile not found.private void addToArchive2(ArchiveGenerator gen, DepEntry entry, java.util.List<Module> liste) throws EntryNotFoundException, java.io.FileNotFoundException, CheckScriptException
gen - the ArchiveGenerator to useentry - the modulentry.liste - the list for rekursion.EntryNotFoundException - if a module is not found.CheckScriptException - if it failsjava.io.FileNotFoundException - if file not foundpublic DepEntry getEntryByModule(Module module) throws EntryNotFoundException
module - module.EntryNotFoundException - if no Entry is foundpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Object