Package dev.equo.solstice
Class NestedJars
- java.lang.Object
-
- dev.equo.solstice.NestedJars
-
- Direct Known Subclasses:
NestedJars.OnClassPath
public abstract class NestedJars extends java.lang.ObjectUnwraps nested bundles to be friendly to a normal classloader, see equodev/equo-ide#7
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNestedJars.CoordFormatstatic classNestedJars.OnClassPath
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDIR
-
Constructor Summary
Constructors Constructor Description NestedJars()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.List<java.util.Map.Entry<java.net.URL,java.io.File>>extractAllNestedJars()Extracts nested jars intoCacheLocations.p2nestedJars().java.util.List<java.util.Map.Entry<java.net.URL,java.io.File>>extractAllNestedJars(java.io.File nestedJarFolder)static NestedJarsinFiles(java.lang.Iterable<java.io.File> files)protected abstract java.util.List<java.net.URL>listNestedJars()static NestedJars.OnClassPathonClassPath()static voidsetToWarnOnly()static java.lang.StringsolsticeVersion()Reads the version of the Solstice jar from the classpath.static java.util.Collection<java.lang.String>transitiveDeps(boolean useAtomos, NestedJars.CoordFormat format)Deprecated.static java.util.Collection<java.lang.String>transitiveDeps(boolean useAtomos, NestedJars.CoordFormat format, P2QueryResult query)Returns the full maven coordinates of Solstice's transitive dependencies in `group:artifact:version` form.
-
-
-
Field Detail
-
DIR
public static final java.lang.String DIR
- See Also:
- Constant Field Values
-
-
Method Detail
-
solsticeVersion
public static java.lang.String solsticeVersion()
Reads the version of the Solstice jar from the classpath.
-
transitiveDeps
@Deprecated public static java.util.Collection<java.lang.String> transitiveDeps(boolean useAtomos, NestedJars.CoordFormat format)Deprecated.
-
transitiveDeps
public static java.util.Collection<java.lang.String> transitiveDeps(boolean useAtomos, NestedJars.CoordFormat format, P2QueryResult query)Returns the full maven coordinates of Solstice's transitive dependencies in `group:artifact:version` form.
-
onClassPath
public static NestedJars.OnClassPath onClassPath()
-
inFiles
public static NestedJars inFiles(java.lang.Iterable<java.io.File> files)
-
listNestedJars
protected abstract java.util.List<java.net.URL> listNestedJars()
-
extractAllNestedJars
public java.util.List<java.util.Map.Entry<java.net.URL,java.io.File>> extractAllNestedJars()
Extracts nested jars intoCacheLocations.p2nestedJars().
-
extractAllNestedJars
public java.util.List<java.util.Map.Entry<java.net.URL,java.io.File>> extractAllNestedJars(java.io.File nestedJarFolder)
-
setToWarnOnly
public static void setToWarnOnly()
-
-