Package io.quarkus.maven.dependency
Interface Dependency
- All Superinterfaces:
ArtifactCoords
- All Known Subinterfaces:
ResolvableDependency,ResolvedDependency
- All Known Implementing Classes:
AppArtifact,AppDependency,ArtifactDependency,ResolvedArtifactDependency,ResolvedDependencyBuilder
-
Field Summary
FieldsFields inherited from interface io.quarkus.maven.dependency.ArtifactCoords
DEFAULT_CLASSIFIER, TYPE_JAR, TYPE_POM -
Method Summary
Modifier and TypeMethodDescriptiondefault Collection<ArtifactKey> intgetFlags()getScope()default booleanhasAllFlags(int... flags) Checks whether all the passed in flags are set on a dependencydefault booleanhasAnyFlag(int... flags) Checks whether any of the flags are set on a dependencydefault booleandefault booleandefault booleanisDirect()default booleanisFlagSet(int flag) Checks whether a dependency has a given flag set.default booleandefault booleandefault booleandefault booleandefault booleanstatic Dependencystatic Dependencystatic DependencyMethods inherited from interface io.quarkus.maven.dependency.ArtifactCoords
getArtifactId, getClassifier, getGroupId, getKey, getType, getVersion, isJar, isSnapshot, toCompactCoords, toGACTVString
-
Field Details
-
SCOPE_COMPILE
- See Also:
-
SCOPE_IMPORT
- See Also:
-
-
Method Details
-
of
-
of
-
pomImport
-
getScope
String getScope() -
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) Checks whether a dependency has a given flag set.- Parameters:
flag- flag to check- Returns:
- true if the flag is set, otherwise false
-
hasAnyFlag
default boolean hasAnyFlag(int... flags) Checks whether any of the flags are set on a dependency- Parameters:
flags- flags to check- Returns:
- true if any of the flags are set, otherwise false
-
hasAllFlags
default boolean hasAllFlags(int... flags) Checks whether all the passed in flags are set on a dependency- Parameters:
flags- flags to check- Returns:
- true if all the passed in flags are set on a dependency, otherwise false
-