org.mule.devkit.generation.api.annotations
Annotation Type Dependency
@Retention(value=RUNTIME)
public @interface Dependency
Annotation used to describe a single dependency:
Examples:
\@Dependency(groupId = "org.mule.sample", artifactId="sample-artifact", version="[1.0]")
\@Dependency(groupId = "org.mule.sample", artifactId="sample-artifact2", version="[2.3.1]",
scope=Scope.PROVIDED)
\@Dependency(groupId = "org.mule.sample", artifactId="sample-artifact", version="[3.0.0,4.0.0)")
groupId
public abstract String groupId
artifactId
public abstract String artifactId
version
public abstract String version
scope
public abstract Scope scope
- Default:
- org.mule.devkit.generation.api.Scope.COMPILE
Copyright © 2010–2014 MuleSoft, Inc.. All rights reserved.