Groovy Documentation
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

addDefaultConfig(StoredConfig) - Method in Configurations
addMerge(MergeConfig) - Method in Configurations
addOverrideConfig(StoredConfig) - Method in Configurations
addQualifier(String, BndConfig, Project) - Method in VersionUtil
Add a qualifier to the bundle version.
ADLER32 - Field in PlatformPluginExtension
Hash calculator using the Adler32 checksum algorithm.
apply(Project) - Method in PlatformPlugin

B

bnd(Closure) - Method in MergeConfig
bnd(Closure) - Method in PlatformPluginExtension
Call bnd to extend/overwrite the default bnd configuration for all bundles.
BndConfig - Class in org.standardout.gradle.plugin.platform.internal.config
Represents the configuration of a bundle concerning bnd.
BndConfig(Project, String, String, String, File, Map) - Constructor in BndConfig
Constructor.
bundle(Project, BundleArtifact, File) - Method in BundleHelper
Bundle an artifact, also create the source bundle if applicable.
bundle(def) - Method in MergeConfig
Add a bundle to merge and as dependency.
bundle(def, Closure) - Method in PlatformPluginExtension
Call bundle to add a dependency.
BundleArtifact - Interface in org.standardout.gradle.plugin.platform.internal
Represents a bundle artifact represented by a single file.
BundleDependency - Class in org.standardout.gradle.plugin.platform.internal.config
Represents the configuration of a bundle dependency.
BundleDependency.CustomConfigDelegate(def) - Constructor in BundleDependency.CustomConfigDelegate
BundleDependency(Project, def, Closure, boolean) - Constructor in BundleDependency
BundleHelper - Class in org.standardout.gradle.plugin.platform.internal.util.bnd
BundlesAction - Class in org.standardout.gradle.plugin.platform.internal
Action that creates bundles.
BundlesAction(Project, File) - Constructor in BundlesAction
ByteArrayResource - Class in org.standardout.gradle.plugin.platform.internal.util.bnd
ByteArrayResource(byte[], long, String) - Constructor in ByteArrayResource

C

CONF_AUX - Field in PlatformPlugin
CONF_PLATFORM - Field in PlatformPlugin
configInfo(Configuration, def) - Method in BundlesAction
Configurations - Class in org.standardout.gradle.plugin.platform.internal.config
Bundle configuration index.
Configurations(Project) - Constructor in Configurations
configureEnvironment(Project) - Method in PlatformPlugin
Guess current environment and store information in project.ext.
contentEquals(Dependency) - Method in DummyDependency
copy() - Method in DummyDependency
createBundles(Iterable, File) - Method in Configurations
Create bundles for the given artifacts.

D

defaultImports(Iterable) - Method in Configurations
DependencyArtifact - Interface in org.standardout.gradle.plugin.platform.internal
DependencyHelper - Class in org.standardout.gradle.plugin.platform.internal.util.gradle
Implementation based on several classes from the gradle ide subproject, mainly DefaultIdeDependencyResolver.
DummyDependency - Class in org.standardout.gradle.plugin.platform.internal.util.gradle
Dummy dependency class (that may have a null name).
DummyDependency(Map) - Constructor in DummyDependency

E

evaluate(Project, String, String, String, File, Map) - Method in StoredConfig
evaluate(Project, String, String, String, File, Map) - Method in StoredConfigImpl
evaluate(Project, String, String, String, File, Map) - Method in UnmodifiableStoredConfig
execute(Task) - Method in BundlesAction
extractSymbolicName(String) - Method in JarInfo

F

FileBundleArtifact - Class in org.standardout.gradle.plugin.platform.internal
Bundle represented by a single file w/o dependency information.
FileBundleArtifact(BundleArtifact, File) - Constructor in FileBundleArtifact
Create a source bundle artifact from a Jar.

G

getArtifacts(Project, Dependency) - Method in DependencyHelper
Resolve a specific dependency to artifacts, excluding transitive dependencies.
getBndClosures() - Method in StoredConfig
getBndClosures() - Method in UnmodifiableStoredConfig
getBndConfig() - Method in BundleArtifact
The associated bnd configuration, if any
getBndConfig() - Method in ResolvedBundleArtifact
getBndConfig() - Method in SourceBundleArtifact
getBundleConfig() - Method in MergeConfig
getBundleName() - Method in BndConfig
getBundleName() - Method in BundleArtifact
The bundle name.
getBundleName() - Method in ResolvedBundleArtifact
getBundleName() - Method in SourceBundleArtifact
getConfiguration(String, String, String, boolean, DependencyArtifact) - Method in Configurations
Get the (combined) configuration for the given parameters defining a dependency.
getDefaultConfig() - Method in Configurations
getDetachedArtifacts(Project, def) - Method in DependencyHelper
Retrieve artifacts for a specific dependency.
getDetachedDependency(Project, def, String, boolean) - Method in DependencyHelper
Retrieve a specific dependency.
getDirectDependencies(Project) - Method in DependencyArtifact
@return the direct dependencies of this artifact
getDirectDependencies(Project, def) - Method in DependencyHelper
Retrieve the direct dependencies of a specific dependency.
getDirectDependencies(Project) - Method in ResolvedBundleArtifact
getFile() - Method in BundleArtifact
The associated file.
getFile() - Method in ResolvedBundleArtifact
getGroup() - Method in DummyDependency
getId() - Method in BundleArtifact
The unique identifier.
getId() - Method in ResolvedBundleArtifact
getImportsClosures() - Method in StoredConfig
getImportsClosures() - Method in UnmodifiableStoredConfig
getMatchClosures() - Method in MergeConfig
getModifiedVersion() - Method in BundleArtifact
The modified bundle version to use.
getModifiedVersion() - Method in ResolvedBundleArtifact
getName() - Method in DummyDependency
getNoWrapReason() - Method in BundleArtifact
The reason why it should not be wrapped
getNoWrapReason() - Method in FileBundleArtifact
getNoWrapReason() - Method in ResolvedBundleArtifact
getOverrideConfig() - Method in Configurations
getProperty(String) - Method in BundleDependency.CustomConfigDelegate
getProperty(String) - Method in IgnoreMethodDecorator
getProperty(String) - Method in IgnoreSetPropertyDecorator
getProperty(String) - Method in LaxPropertyDecorator
getSourceBundle() - Method in BundleArtifact
The associated source bundle, if any.
getSymbolicName() - Method in BndConfig
getSymbolicName() - Method in BundleArtifact
The bundle symbolic name.
getSymbolicName() - Method in ResolvedBundleArtifact
getSymbolicName() - Method in SourceBundleArtifact
getTargetFileName() - Method in BundleArtifact
The name of the target file.
getTargetFileName() - Method in ResolvedBundleArtifact
getVersion() - Method in BndConfig
getVersion() - Method in BundleArtifact
The original version.
getVersion() - Method in DummyDependency
getVersion() - Method in ResolvedBundleArtifact

H


I

IgnoreMethodDecorator - Class in org.standardout.gradle.plugin.platform.internal.util.groovy
Decorator for a class that ignores method invocations.
IgnoreMethodDecorator(def) - Constructor in IgnoreMethodDecorator
IgnoreSetPropertyDecorator - Class in org.standardout.gradle.plugin.platform.internal.util.groovy
Decorator for a class that doesn't fail on accessing missing properties.
IgnoreSetPropertyDecorator(def) - Constructor in IgnoreSetPropertyDecorator
imports(def, Closure) - Method in PlatformPluginExtension
Call to configure the behaviour for other bundles importing a given dependency.
ImportsConfig - Class in org.standardout.gradle.plugin.platform.internal.config
Represents the configuration of a library concerning the import of packages to other bundles.
ImportsConfig(Project, String, String, String) - Constructor in ImportsConfig
Constructor.
importsConfig(Project, String, String, String) - Method in StoredConfig
@return the imports configuration, may be null
importsConfig(Project, String, String, String) - Method in StoredConfigImpl
importsConfig(Project, String, String, String) - Method in UnmodifiableStoredConfig
include(def) - Method in MergeConfig
Include a bundle to merge, but not as dependency.
instruction(String, def) - Method in BndConfig
Create a bnd instruction.
instructions(Map) - Method in BndConfig
Add instructions using named parameters
invokeMethod(String, def) - Method in BundleDependency.CustomConfigDelegate
invokeMethod(String, def) - Method in IgnoreMethodDecorator
invokeMethod(String, def) - Method in IgnoreSetPropertyDecorator
invokeMethod(String, def) - Method in LaxPropertyDecorator
isEmpty() - Method in ResolvedBundleArtifact.PomInfo
isEmpty() - Method in StoredConfig
@return if the configuration is empty
isEmpty() - Method in StoredConfigImpl
isEmpty() - Method in UnmodifiableStoredConfig
isSatisfiedBy(Dependency) - Method in DependencyHelper.ExternalDependencySpec
isSatisfiedBy(Dependency) - Method in DependencyHelper.SatisfyAllSpec
isSource() - Method in BundleArtifact
If the bundle is a source bundle.
isSource() - Method in FileBundleArtifact
isSource() - Method in ResolvedBundleArtifact
isSource() - Method in SourceBundleArtifact
isWrap() - Method in BundleArtifact
Should the bundle be wrapped using bnd?
isWrap() - Method in FileBundleArtifact
isWrap() - Method in ResolvedBundleArtifact

J

JarInfo - Class in org.standardout.gradle.plugin.platform.internal.util.bnd
JarInfo(File) - Constructor in JarInfo

K


L

lastModified() - Method in ByteArrayResource
LaxPropertyDecorator - Class in org.standardout.gradle.plugin.platform.internal.util.groovy
Decorator for a class that doesn't fail on accessing missing properties.
LaxPropertyDecorator(def) - Constructor in LaxPropertyDecorator
leftShift(StoredConfig) - Method in StoredConfig
Append the given configuration.
leftShift(StoredConfig) - Method in StoredConfigImpl
Append the given configuration.
leftShift(StoredConfig) - Method in UnmodifiableStoredConfig

M

MAJOR - Field in PlatformPluginExtension
Version strategy that requires a minimum version and extends to (not including) the next major version.
MANIFEST_PATH - Field in BundleHelper
match(Closure) - Method in MergeConfig
Defines a closure that matches against BundleArtifacts to merge.
merge(Project, MergeConfig, List, File) - Method in BundleHelper
merge(Map, Closure) - Method in PlatformPluginExtension
Call merge to create bundle that is merged from different dependencies.
MergeConfig - Class in org.standardout.gradle.plugin.platform.internal.config
Merge configuration.
MergeConfig(Project, Map, Closure) - Constructor in MergeConfig
mergeJars(Project, List, File, Map) - Method in BundleHelper
MINIMUM - Field in PlatformPluginExtension
Version strategy that uses the given version as minimum version.
MINOR - Field in PlatformPluginExtension
Version strategy that requires a minimum version and extends to (not including) the next minor version.

N

NONE - Field in PlatformPluginExtension
Version strategy that uses no version constraint for imports.

O

openInputStream() - Method in ByteArrayResource
optionalImport(String) - Method in BndConfig
Add packages for optional import.
override(Closure) - Method in PlatformPluginExtension
Call to override the behavior for all created bundles, even existing bundles.

P

PlatformPlugin - Class in org.standardout.gradle.plugin.platform
OSGi platform plugin for Gradle.
PlatformPluginExtension - Class in org.standardout.gradle.plugin.platform
Extension for the platform plugin.
PlatformPluginExtension(Project) - Constructor in PlatformPluginExtension
prependImport(List) - Method in BndConfig
Prepend imported packages.
putConfiguration(String, String, String, StoredConfig) - Method in Configurations
Add configuration for a dependency.

Q


R

resolveAllDependencies(Configuration) - Method in DependencyHelper
Recursively resolves dependencies including their children.
ResolvedBundleArtifact - Class in org.standardout.gradle.plugin.platform.internal
ResolvedBundleArtifact.LicenseInfo - Class in org.standardout.gradle.plugin.platform.internal
Represents license information retrieved from a POM file.
ResolvedBundleArtifact.LicenseInfo(String, String) - Constructor in ResolvedBundleArtifact.LicenseInfo
ResolvedBundleArtifact.PomInfo - Class in org.standardout.gradle.plugin.platform.internal
Represents information retrieved from a POM file.
ResolvedBundleArtifact(ResolvedArtifact, Project, boolean) - Constructor in ResolvedBundleArtifact
Create a bundle artifact from a resolved artifact.
resolvedConfigInfo(String, Iterable, def) - Method in BundlesAction
resolveSourceArtifacts(Configuration, ConfigurationContainer) - Method in DependencyHelper
Resolve source artifacts for dependencies in the given configuration.
rightShift(StoredConfig) - Method in StoredConfig
Prepend the own configuration to the given configuration object.
rightShift(StoredConfig) - Method in StoredConfigImpl
Prepend the own configuration to the given configuration object.
rightShift(StoredConfig) - Method in UnmodifiableStoredConfig

S

setBundleName(String) - Method in BndConfig
Custom bundle name.
setProperty(String, def) - Method in BundleDependency.CustomConfigDelegate
setProperty(String, def) - Method in IgnoreMethodDecorator
setProperty(String, def) - Method in IgnoreSetPropertyDecorator
setSourceBundle(BundleArtifact) - Method in BundleArtifact
Set the associated source bundle, may be null.
setSymbolicName(String) - Method in BndConfig
Custom symbolic name.
setVersion(String) - Method in BndConfig
Version that is either provided or can be set for file dependencies.
size() - Method in ByteArrayResource
SourceBundleArtifact - Class in org.standardout.gradle.plugin.platform.internal
SourceBundleArtifact(ResolvedArtifact, Project) - Constructor in SourceBundleArtifact
StoredConfig - Interface in org.standardout.gradle.plugin.platform.internal.config
Stores the configuration of a bundle concerning bnd.
StoredConfigImpl - Class in org.standardout.gradle.plugin.platform.internal.config
Stores the configuration of a bundle concerning bnd.
StoredConfigImpl(Closure) - Constructor in StoredConfigImpl
Constructor.

T

TASK_BUNDLES - Field in PlatformPlugin
toOsgiVersion(String, Closure) - Method in VersionUtil
Convert a version string to a valid OSGi version.
toStoredConfig() - Method in ResolvedBundleArtifact.PomInfo
Convert to stored configuration.

U

UnmodifiableStoredConfig - Class in org.standardout.gradle.plugin.platform.internal.config
UnmodifiableStoredConfig(StoredConfig) - Constructor in UnmodifiableStoredConfig

V

VersionUtil - Class in org.standardout.gradle.plugin.platform.internal.util

W

write(OutputStream) - Method in ByteArrayResource

X


Y


Z


_


Groovy Documentation