Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 571 - 580 of 668 for methods (0.06 seconds)

  1. docs/en/docs/advanced/advanced-dependencies.md

    In Python there's a way to make an instance of a class a "callable".
    
    Not the class itself (which is already a callable), but an instance of that class.
    
    To do that, we declare a method `__call__`:
    
    {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[12] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Nov 13 07:37:15 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

        private MavenSession newMavenSession() throws Exception {
            return createMavenSession(null);
        }
    
        @Override
        protected String getProjectsDirectory() {
            // TODO Auto-generated method stub
            return null;
        }
    
        public static class Mojo {
            URI uri;
            Path path;
            String uriString;
            String uriAsciiString;
            String pathString;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 26 19:31:34 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  3. docs/es/docs/tutorial/dependencies/classes-as-dependencies.md

    Entonces, podemos cambiar la dependencia "dependable" `common_parameters` de arriba a la clase `CommonQueryParams`:
    
    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[11:15] *}
    
    Presta atención al método `__init__` usado para crear la instance de la clase:
    
    {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[12] *}
    
    ...tiene los mismos parámetros que nuestros `common_parameters` anteriores:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

            assertEquals(mojo.pathString, path.toString());
        }
    
        @Override
        protected String getProjectsDirectory() {
            // TODO Auto-generated method stub
            return null;
        }
    
        public static class Mojo {
            URI uri;
            Path path;
            String uriString;
            String uriAsciiString;
            String pathString;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 26 19:31:34 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * {@code profile > project}, hence active profile property may override project property.
         * <p>
         * The caller of this method should decide whether there is a project in scope (hence, a project instance
         * needs to be passed) or not.
         *
         * @param project {@link Project} or {@code null}.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  6. doc/godebug.md

    For example, when a Go 1.21 toolchain compiles a program,
    if the work module's `go.mod` or the workspace's `go.work`
    says `go` `1.20`, then the program defaults to `panicnil=1`,
    matching Go 1.20 instead of Go 1.21.
    
    Because this method of setting GODEBUG defaults was introduced only in Go 1.21,
    programs listing versions of Go earlier than Go 1.20 are configured to match Go 1.20,
    not the older version.
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Dec 03 00:18:09 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  7. docs/es/docs/tutorial/background-tasks.md

    ## Agregar la tarea en segundo plano { #add-the-background-task }
    
    Dentro de tu *path operation function*, pasa tu función de tarea al objeto de *background tasks* con el método `.add_task()`:
    
    {* ../../docs_src/background_tasks/tutorial001_py39.py hl[14] *}
    
    `.add_task()` recibe como argumentos:
    
    * Una función de tarea para ejecutar en segundo plano (`write_notification`).
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

         *         repository).
         */
        File getPomFile();
    
        /**
         * Sets the POM file of the project to build. Note that providing the path to a POM file via this method will make
         * the model builder operate in project mode. This mode is meant for effective models that are employed during the
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

        @Inject
        public AbstractUpgradeGoal(StrategyOrchestrator orchestrator) {
            this.orchestrator = orchestrator;
        }
    
        /**
         * Executes the upgrade goal.
         * Template method that calls doUpgrade and optionally saves modifications.
         */
        @Override
        public int execute(UpgradeContext context) throws Exception {
            UpgradeOptions options = context.options();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

                return;
            }
    
            // Update namespace based on target model version
            String targetNamespace = getNamespaceForModelVersion(targetModelVersion);
    
            // Use element's attribute method to set the namespace declaration
            // This modifies the element in place and marks it as modified
            root.attribute("xmlns", targetNamespace);
            context.detail("Updated namespace to " + targetNamespace);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 16.6K bytes
    - Click Count (0)
Back to Top