- Sort Score
- Result 10 results
- Languages All
Results 701 - 710 of 770 for security (0.14 sec)
-
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java
addViolation(problems, Severity.valueOf(problem.getSeverity().name()), problem.getMessage()); } } // ---------------------------------------------------------------------- // Field validation // ---------------------------------------------------------------------- private static void addViolation(SettingsProblemCollector problems, Severity severity, String message) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemCollectorRequest.java
* @param severity * @param version */ public ModelProblemCollectorRequest(Severity severity, Version version) { this.severity = Objects.requireNonNull(severity, "severity cannot be null"); this.version = Objects.requireNonNull(version, "version cannot be null"); } public Severity getSeverity() { return severity; } public Version getVersion() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblemCollector.java
boolean hasFatalErrors(); default void add(BuilderProblem.Severity severity, ModelProblem.Version version, String message) { add(severity, version, message, null, null); } default void add( BuilderProblem.Severity severity, ModelProblem.Version version, String message, InputLocation location) { add(severity, version, message, location, null); } default void add(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Sep 28 09:03:24 UTC 2024 - 2.8K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java
assertEquals(Severity.ERROR, problem.getSeverity()); problem = new DefaultProblem(null, Severity.FATAL, null, -1, -1, null); assertEquals(Severity.FATAL, problem.getSeverity()); problem = new DefaultProblem(null, Severity.ERROR, null, -1, -1, null); assertEquals(Severity.ERROR, problem.getSeverity());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java
this.message = message; this.severity = (severity != null) ? severity : Severity.ERROR; this.source = (source != null) ? source : ""; this.lineNumber = lineNumber; this.columnNumber = columnNumber; this.exception = exception; } public String getSource() { return source;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderResult.java
@Nonnull Settings getEffectiveSettings(); /** * Gets the problems that were encountered during the settings building. Note that only problems of severity * {@link BuilderProblem.Severity#WARNING} and below are reported here. Problems with a higher severity level cause * the settings builder to fail with a {@link SettingsBuilderException}. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Feb 28 23:54:53 UTC 2024 - 1.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderResult.java
PersistedToolchains getEffectiveToolchains(); /** * Gets the problems that were encountered during the settings building. Note that only problems of severity * {@link BuilderProblem.Severity#WARNING} and below are reported here. Problems with a higher severity level cause * the settings builder to fail with a {@link ToolchainsBuilderException}. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Feb 28 23:54:53 UTC 2024 - 1.8K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/ProblemCollector.java
* */ public interface ProblemCollector { /** * Adds the specified problem. * Either message or exception is required * * @param severity The severity of the problem, must not be {@code null}. * @param message The detail message of the problem, may be {@code null}. * @param line The one-based index of the line containing the problem or {@code -1} if unknown.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.9K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/ToolchainsBuildingExceptionTest.java
} @Test void testOneProblem() { ProblemCollector problemCollector = ProblemCollectorFactory.newInstance(null); problemCollector.add(Problem.Severity.ERROR, "MESSAGE", 3, 5, new Exception()); ToolchainsBuildingException e = new ToolchainsBuildingException(problemCollector.getProblems()); assertEquals(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java
String getMessage(); /** * Gets the severity level of this problem. * * @return the severity level of this problem, never {@code null} */ @Nonnull Severity getSeverity(); /** * The different severity levels for a problem, in decreasing order. * * @since 4.0.0 */ @Experimental enum Severity { FATAL, // ERROR, //
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Mar 23 05:29:39 UTC 2023 - 3.6K bytes - Viewed (0)