Package com.yahoo.osgi.maven
Class ProjectBundleClassPaths
- java.lang.Object
-
- com.yahoo.osgi.maven.ProjectBundleClassPaths
-
public class ProjectBundleClassPaths extends java.lang.Object
Represents the bundles in a maven project and the classpath elements corresponding to code that would end up in the bundle.- Author:
- Tony Vaagenes, bjorncs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProjectBundleClassPaths.BundleClasspathMapping
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CLASSPATH_MAPPINGS_FILENAME
ProjectBundleClassPaths.BundleClasspathMapping
mainBundle
java.util.List<ProjectBundleClassPaths.BundleClasspathMapping>
providedDependencies
-
Constructor Summary
Constructors Constructor Description ProjectBundleClassPaths(ProjectBundleClassPaths.BundleClasspathMapping mainBundle, java.util.List<ProjectBundleClassPaths.BundleClasspathMapping> providedDependencies)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
hashCode()
static ProjectBundleClassPaths
load(java.nio.file.Path path)
static void
save(java.nio.file.Path path, ProjectBundleClassPaths mappings)
-
-
-
Field Detail
-
CLASSPATH_MAPPINGS_FILENAME
public static final java.lang.String CLASSPATH_MAPPINGS_FILENAME
- See Also:
- Constant Field Values
-
mainBundle
public final ProjectBundleClassPaths.BundleClasspathMapping mainBundle
-
providedDependencies
public final java.util.List<ProjectBundleClassPaths.BundleClasspathMapping> providedDependencies
-
-
Constructor Detail
-
ProjectBundleClassPaths
public ProjectBundleClassPaths(ProjectBundleClassPaths.BundleClasspathMapping mainBundle, java.util.List<ProjectBundleClassPaths.BundleClasspathMapping> providedDependencies)
-
-
Method Detail
-
save
public static void save(java.nio.file.Path path, ProjectBundleClassPaths mappings) throws java.io.IOException
- Throws:
java.io.IOException
-
load
public static ProjectBundleClassPaths load(java.nio.file.Path path) throws java.io.IOException
- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-