Annotation Type | Description |
---|---|
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)")
|
JustOnce |
Marker annotation meant to be used in
ModuleGenerator s that are meant
to be ran only once and not once per type. |
RequiresMavenDependencies |
Annotation used in classes implementing the Plugin or Verifier interface to
check that the required dependencies are met by the developers building
Modules or Cloud Connectors
Usage: \@RequiresMavenDependencies({\@Dependency(groudId = "groupId",
artifactId="artifactId", version="version"})
Example:
\@RequiresMavenDependencies({\@Dependency(groudId = "org.junit",
artifactId="junit", version="4.8.3", scope="test"})
public class MyClass implements Plugin {
\@RequiresMavenDependencies({\@Dependency(groudId = "oauth.signpost",
artifactId = "signpost-core", version = "1.2.1.2"})
public class MyClass implements Verifier {
|
Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.