Package io.quarkus.maven.dependency
Interface Dependency
-
- All Superinterfaces:
ArtifactCoords
- All Known Subinterfaces:
ResolvableDependency
,ResolvedDependency
- All Known Implementing Classes:
AppArtifact
,AppDependency
,ArtifactDependency
,ResolvedArtifactDependency
public interface Dependency extends ArtifactCoords
-
-
Field Summary
Fields Modifier and Type Field Description static String
SCOPE_COMPILE
static String
SCOPE_IMPORT
-
Fields inherited from interface io.quarkus.maven.dependency.ArtifactCoords
DEFAULT_CLASSIFIER, TYPE_JAR, TYPE_POM
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Collection<ArtifactKey>
getExclusions()
int
getFlags()
String
getScope()
default boolean
isClassLoaderParentFirst()
default boolean
isDeploymentCp()
default boolean
isDirect()
default boolean
isFlagSet(int flag)
default boolean
isOptional()
default boolean
isReloadable()
default boolean
isRuntimeCp()
default boolean
isRuntimeExtensionArtifact()
default boolean
isWorkspaceModule()
static Dependency
of(String groupId, String artifactId)
static Dependency
of(String groupId, String artifactId, String version)
static Dependency
pomImport(String groupId, String artifactId, String version)
-
Methods inherited from interface io.quarkus.maven.dependency.ArtifactCoords
getArtifactId, getClassifier, getGroupId, getKey, getType, getVersion, isJar, toCompactCoords, toGACTVString
-
-
-
-
Field Detail
-
SCOPE_COMPILE
static final String SCOPE_COMPILE
- See Also:
- Constant Field Values
-
SCOPE_IMPORT
static final String SCOPE_IMPORT
- See Also:
- Constant Field Values
-
-
Method Detail
-
of
static Dependency of(String groupId, String artifactId)
-
of
static Dependency of(String groupId, String artifactId, String version)
-
pomImport
static Dependency pomImport(String groupId, String artifactId, String version)
-
getScope
String getScope()
-
getExclusions
default Collection<ArtifactKey> getExclusions()
-
getFlags
int getFlags()
-
isOptional
default boolean isOptional()
-
isDirect
default boolean isDirect()
-
isRuntimeExtensionArtifact
default boolean isRuntimeExtensionArtifact()
-
isRuntimeCp
default boolean isRuntimeCp()
-
isDeploymentCp
default boolean isDeploymentCp()
-
isWorkspaceModule
default boolean isWorkspaceModule()
-
isReloadable
default boolean isReloadable()
-
isClassLoaderParentFirst
default boolean isClassLoaderParentFirst()
-
isFlagSet
default boolean isFlagSet(int flag)
-
-