|
||||||||||
| 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(java.lang.String path)
Creates an UberEntry at located at the specified path. |
|
UberEntry(java.lang.String path,
java.util.List<UberEntry> previous)
|
|
UberEntry(java.lang.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(java.io.File file)
|
java.util.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 |
java.lang.String |
getPath()
The path of the entry. |
UberEntry |
getPrevious()
|
java.util.ArrayList<java.io.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(java.lang.String path)
path - public UberEntry(UberEntry previous)
previous -
public UberEntry(java.lang.String path,
UberEntry previous)
path -
public UberEntry(java.lang.String path,
java.util.List<UberEntry> previous)
| Method Detail |
|---|
public java.util.ArrayList<java.io.File> getSources()
public java.lang.String getPath()
public UberEntry getPrevious()
public java.util.List<UberEntry> getAllPrevious()
public UberEntry addSource(java.io.File file)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||