Interface DependencyFlags
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intCompile-only dependencies are those that are configured to be included only for the compile phase (provideddependency scope in Maven,compileOnlyconfiguration in Gradle).static final intstatic final intstatic final intThis flag is used for dependencies returned fromResolvedDependency.getDirectDependencies().static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
-
Field Details
-
OPTIONAL
static final int OPTIONAL- See Also:
-
DIRECT
static final int DIRECT- See Also:
-
RUNTIME_CP
static final int RUNTIME_CP- See Also:
-
DEPLOYMENT_CP
static final int DEPLOYMENT_CP- See Also:
-
RUNTIME_EXTENSION_ARTIFACT
static final int RUNTIME_EXTENSION_ARTIFACT- See Also:
-
WORKSPACE_MODULE
static final int WORKSPACE_MODULE- See Also:
-
RELOADABLE
static final int RELOADABLE- See Also:
-
TOP_LEVEL_RUNTIME_EXTENSION_ARTIFACT
static final int TOP_LEVEL_RUNTIME_EXTENSION_ARTIFACT- See Also:
-
CLASSLOADER_PARENT_FIRST
static final int CLASSLOADER_PARENT_FIRST- See Also:
-
CLASSLOADER_RUNNER_PARENT_FIRST
static final int CLASSLOADER_RUNNER_PARENT_FIRST- See Also:
-
CLASSLOADER_LESSER_PRIORITY
static final int CLASSLOADER_LESSER_PRIORITY- See Also:
-
VISITED
static final int VISITED- See Also:
-
COMPILE_ONLY
static final int COMPILE_ONLYCompile-only dependencies are those that are configured to be included only for the compile phase (provideddependency scope in Maven,compileOnlyconfiguration in Gradle).These dependencies will not be present on the Quarkus application runtime or augmentation (deployment) classpath when the application is bootstrapped in production mode (
io.quarkus.runtime.LaunchMode.NORMAL).In Maven projects, compile-only dependencies will be present on both the runtime and the augmentation classpath of a Quarkus application launched in dev and test modes, since
provideddependencies are included in the test classpath by Maven.In Gradle projects, compile-only dependencies will be present on both the runtime and the augmentation classpath of a Quarkus application launched in dev modes only.
In any case though, these dependencies will be available during augmentation for processing using
ApplicationModel.getDependencies(int)by passing this flag as an argument.- See Also:
-
MISSING_FROM_APPLICATION
static final int MISSING_FROM_APPLICATIONThis flag is used for dependencies returned fromResolvedDependency.getDirectDependencies(). It indicates a dependency was configured for a given artifact but is missing among the application dependencies.- See Also:
-
-
Method Details
-
toNames
Generates a comma-separated list of flag names for a given integer value.- Parameters:
flags- flags as an integer value- Returns:
- comma-separated list of the flag names
-