public interface RemoteWorkspace
extends java.io.Closeable
Paths in this API must all be absolute and formatted in the operating system specific format. (I.e. File.getAbsolutePath()). They must also reside in the the workspace that this object is attached to.
Modifier and Type | Method and Description |
---|---|
RunSpecification |
analyzeTestSetup(java.lang.String projectDir)
Analyze the project given as a parameter and provide the setup
information.
|
byte[] |
build(java.lang.String projectPath,
BuilderSpecification spec)
Build a bundle based on a BuilderSpecification.
|
java.lang.String |
getBndVersion()
Get the bnd version of the workspace.
|
java.util.List<java.lang.String> |
getLatestBundles(java.lang.String projectDir,
java.lang.String specification)
Get the latest bundles from a specification.
|
java.util.List<java.lang.String> |
getProjects()
Get a list of all projects.
|
RunSpecification |
getRun(java.lang.String pathToBndOrBndrun)
Parse a bndrun file (which can also a plain bnd file with -run*
instructions) and provide the resulting run specification.
|
java.lang.String getBndVersion()
About.CURRENT
value.RunSpecification getRun(java.lang.String pathToBndOrBndrun)
pathToBndOrBndrun
- the path to a bnd or bndrun file, never nullRunSpecification analyzeTestSetup(java.lang.String projectDir)
projectDir
- the absolute path injava.util.List<java.lang.String> getLatestBundles(java.lang.String projectDir, java.lang.String specification)
projectDir
- The absolute path to the project directory where
Project.getBundles(aQute.bnd.service.Strategy, String, String)
is called.specification
- A specification for bundles/byte[] build(java.lang.String projectPath, BuilderSpecification spec)
projectPath
- The path to the projectspec
- the specification for a Builder, see
Builder.from(BuilderSpecification)
.java.util.List<java.lang.String> getProjects()