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 booleanisAnyFlagSet(int flags) Checks whether a dependency has any of the flags combined in the value offlagsset.default 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. If the value of theflagargument combines multiple flags, the implementation will returntrueonly if the dependency has all the flags set.- Parameters:
flag- flag (or flags) to check- Returns:
- true if the flag is set, otherwise false
-
isAnyFlagSet
default boolean isAnyFlagSet(int flags) Checks whether a dependency has any of the flags combined in the value offlagsset.- Parameters:
flags- flags to check- Returns:
- true, if any of the flags 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
-