|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.fusesource.mvnplugins.uberize.UberEntry
public class UberEntry
An UberEntry represents a file path in an uber jar. It will keep track of overlapping source files until a transformation can apply a merge strategy to them. When a transformation is applied, a new UberEntry will replace the previous one but it will maintain a reference to it so that the transformation history of the file path can be inspected.
Constructor Summary | |
---|---|
UberEntry(String path)
Creates an UberEntry at located at the specified path. |
|
UberEntry(String path,
List<UberEntry> previous)
|
|
UberEntry(String path,
UberEntry previous)
Creates na UberEntry at located at the specified path, which is an updated of a previous UberEntry. |
|
UberEntry(UberEntry previous)
Creates an UberEntry that is an update of a previous UberEntry. |
Method Summary | |
---|---|
UberEntry |
addSource(File file)
|
List<UberEntry> |
getAllPrevious()
If a transformer agregates mutliple UberEntry paths into a single path then the prvious version of thise node will be a list of UberEntrys |
String |
getPath()
The path of the entry. |
UberEntry |
getPrevious()
|
ArrayList<File> |
getSources()
A list which can be used to track all the overlapping source files associated with the path entry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UberEntry(String path)
path
- public UberEntry(UberEntry previous)
previous
- public UberEntry(String path, UberEntry previous)
path
- public UberEntry(String path, List<UberEntry> previous)
Method Detail |
---|
public ArrayList<File> getSources()
public String getPath()
public UberEntry getPrevious()
public List<UberEntry> getAllPrevious()
public UberEntry addSource(File file)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |