Groovy Documentation

org.standardout.gradle.plugin.platform.internal
[Java] Interface BundleArtifact


public interface BundleArtifact

Represents a bundle artifact represented by a single file.


Method Summary
BndConfig getBndConfig()

The associated bnd configuration, if any

java.lang.String getBundleName()

The bundle name.

java.io.File getFile()

The associated file.

java.lang.String getId()

The unique identifier.

java.lang.String getModifiedVersion()

The modified bundle version to use.

java.lang.String getNoWrapReason()

The reason why it should not be wrapped

BundleArtifact getSourceBundle()

The associated source bundle, if any.

java.lang.String getSymbolicName()

The bundle symbolic name.

java.lang.String getTargetFileName()

The name of the target file.

java.lang.String getVersion()

The original version.

boolean isSource()

If the bundle is a source bundle.

boolean isWrap()

Should the bundle be wrapped using bnd?

void setSourceBundle(BundleArtifact sourceBundle)

Set the associated source bundle, may be null.

 

Method Detail

getBndConfig

public BndConfig getBndConfig()
The associated bnd configuration, if any


getBundleName

public java.lang.String getBundleName()
The bundle name.


getFile

public java.io.File getFile()
The associated file.


getId

public java.lang.String getId()
The unique identifier.


getModifiedVersion

public java.lang.String getModifiedVersion()
The modified bundle version to use.


getNoWrapReason

public java.lang.String getNoWrapReason()
The reason why it should not be wrapped


getSourceBundle

public BundleArtifact getSourceBundle()
The associated source bundle, if any.


getSymbolicName

public java.lang.String getSymbolicName()
The bundle symbolic name.


getTargetFileName

public java.lang.String getTargetFileName()
The name of the target file.


getVersion

public java.lang.String getVersion()
The original version.


isSource

public boolean isSource()
If the bundle is a source bundle.


isWrap

public boolean isWrap()
Should the bundle be wrapped using bnd?


setSourceBundle

public void setSourceBundle(BundleArtifact sourceBundle)
Set the associated source bundle, may be null.


 

Groovy Documentation