Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 45 for setModel (0.06 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingEvent.java

            this.model = model;
            this.request = request;
            this.problems = problems;
        }
    
        @Override
        public Model getModel() {
            return model;
        }
    
        @Override
        public ModelBuildingRequest getRequest() {
            return request;
        }
    
        @Override
        public ModelProblemCollector getProblems() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Plugin.java

    /**
     * Represents a maven plugin runtime
     *
     * @since 4.0.0
     */
    @Experimental
    public interface Plugin {
    
        @Nonnull
        org.apache.maven.api.model.Plugin getModel();
    
        @Nonnull
        PluginDescriptor getDescriptor();
    
        @Nonnull
        List<Lifecycle> getLifecycles();
    
        @Nonnull
        ClassLoader getClassLoader();
    
        @Nonnull
        Artifact getArtifact();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Feb 28 23:54:53 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

        /**
         * {@return the project model}.
         */
        @Nonnull
        Model getModel();
    
        /**
         * Shorthand method.
         *
         * @return the build element of the project model
         */
        @Nonnull
        default Build getBuild() {
            Build build = getModel().getBuild();
            return build != null ? build : Build.newInstance();
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/SimpleProblemCollector.java

        private List<String> fatals = new ArrayList<>();
    
        public SimpleProblemCollector() {}
    
        public SimpleProblemCollector(Model model) {
            this.model = model;
        }
    
        public Model getModel() {
            return model;
        }
    
        public List<String> getWarnings() {
            return warnings;
        }
    
        public List<String> getErrors() {
            return errors;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComSeek.java

        public void setFid(final int fid) {
            this.fid = fid;
        }
    
        /**
         * Sets the seek mode.
         *
         * @param mode
         *            the mode to set
         */
        public final void setMode(final int mode) {
            this.mode = mode;
        }
    
        /**
         * Sets the seek offset.
         *
         * @param offset
         *            the offset to set
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

            return result;
        }
    
        /**
         * Gets the model that could not be built properly.
         *
         * @return The erroneous model or {@code null} if not available.
         */
        public Model getModel() {
            if (result == null) {
                return null;
            }
            if (result.getEffectiveModel() != null) {
                return result.getEffectiveModel();
            }
            return result.getRawModel();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainTest.java

            };
        }
    
        @Test
        void testGetModel() {
            ToolchainModel model = new ToolchainModel();
            DefaultToolchain toolchain = newDefaultToolchain(model);
            assertEquals(model, toolchain.getModel());
        }
    
        @Test
        void testGetType() {
            ToolchainModel model = new ToolchainModel();
            DefaultToolchain toolchain = newDefaultToolchain(model, "TYPE");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 11 12:33:57 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

        public Map<String, String> getEffectiveProperties(@Nullable Project project) {
            HashMap<String, String> result = new HashMap<>(getSystemProperties());
            if (project != null) {
                result.putAll(project.getModel().getProperties());
            }
            result.putAll(getUserProperties());
            return result;
        }
    
        @Nonnull
        @Override
        public Version getMavenVersion() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/plugin/prefix/DefaultPluginPrefixRequest.java

            MavenProject project = session.getCurrentProject();
            if (project != null) {
                setRepositories(project.getRemotePluginRepositories());
                setPom(project.getModel());
            }
    
            setPluginGroups(session.getPluginGroups());
        }
    
        @Override
        public String getPrefix() {
            return prefix;
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Toolchain.java

         *
         * @return the toolchain type
         */
        String getType();
    
        /**
         * Gets the underlying toolchain model.
         *
         * @return the toolchain model
         */
        ToolchainModel getModel();
    
        /**
         * Gets the platform tool executable.
         *
         * @param toolName the tool platform independent tool name
         * @return file representing the tool executable, or null if the tool cannot be found
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 11 12:33:57 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top