Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for getModel (0.04 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/MojoExecution.java

     * expressions.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface MojoExecution {
    
        @Nonnull
        Plugin getPlugin();
    
        @Nonnull
        PluginExecution getModel();
    
        @Nonnull
        MojoDescriptor getDescriptor();
    
        @Nonnull
        String getExecutionId();
    
        @Nonnull
        String getGoal();
    
        @Nonnull
        String getLifecyclePhase();
    
    Registered: 2025-05-24 08:56
    - Last Modified: 2024-02-28 23:54
    - 1.8K bytes
    - Viewed (0)
  2. 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: 2025-05-24 08:56
    - Last Modified: 2025-02-27 11:07
    - 10.6K bytes
    - Viewed (0)
  3. 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: 2025-05-24 08:56
    - Last Modified: 2024-02-28 23:54
    - 1.7K bytes
    - Viewed (0)
  4. 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: 2025-05-24 08:56
    - Last Modified: 2025-02-11 12:33
    - 3.4K bytes
    - Viewed (0)
  5. tests/test_datetime_custom_encoder.py

        app = FastAPI()
        model = ModelWithDatetimeField(dt_field=datetime(2019, 1, 1, 8))
    
        @app.get("/model", response_model=ModelWithDatetimeField)
        def get_model():
            return model
    
        client = TestClient(app)
        with client:
            response = client.get("/model")
        assert response.json() == {"dt_field": "2019-01-01T08:00:00+00:00"}
    
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2023-07-07 17:12
    - 1.6K bytes
    - Viewed (0)
  6. docs_src/path_params/tutorial005.py

    from fastapi import FastAPI
    
    
    class ModelName(str, Enum):
        alexnet = "alexnet"
        resnet = "resnet"
        lenet = "lenet"
    
    
    app = FastAPI()
    
    
    @app.get("/models/{model_name}")
    async def get_model(model_name: ModelName):
        if model_name is ModelName.alexnet:
            return {"model_name": model_name, "message": "Deep Learning FTW!"}
    
        if model_name.value == "lenet":
    Registered: 2025-05-25 07:19
    - Last Modified: 2022-08-26 13:26
    - 546 bytes
    - Viewed (0)
  7. istioctl/pkg/writer/pilot/status.go

    			err := resource.UnmarshalTo(&clientConfig)
    			if err != nil {
    				return nil, nil, fmt.Errorf("could not unmarshal ClientConfig: %w", err)
    			}
    			meta, err := model.ParseMetadata(clientConfig.GetNode().GetMetadata())
    			if err != nil {
    				return nil, nil, fmt.Errorf("could not parse node metadata: %w", err)
    			}
    			if s.Namespace != "" && meta.Namespace != s.Namespace {
    				continue
    			}
    Registered: 2025-05-28 22:53
    - Last Modified: 2024-06-21 22:47
    - 6.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiTokenizerFactory.java

        private boolean discartPunctuation;
    
        public KuromojiTokenizerFactory(IndexSettings indexSettings, Environment env, String name, Settings settings) {
            super(indexSettings, settings, name);
            mode = getMode(settings);
            userDictionary = getUserDictionary(env, settings);
            discartPunctuation = settings.getAsBoolean("discard_punctuation", true);
            nBestCost = settings.getAsInt(NBEST_COST, -1);
    Registered: 2025-06-06 09:08
    - Last Modified: 2025-03-15 06:51
    - 4.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

            }
            else {
                if ( log.isDebugEnabled() ) {
                    log.debug("Node " + ref.getNode() + " path " + reqPath + " remain " + reqPath.substring(consumed) + " path consumed " + consumed);
                }
                dfsPathSplit(ref.getNode(), arr);
                dr.server = arr[ 1 ];
                dr.share = arr[ 2 ];
                dr.path = arr[ 3 ];
    Registered: 2025-05-25 00:10
    - Last Modified: 2021-11-13 15:13
    - 11K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/envoy/configdump/configdump.go

    	const (
    		istioVersionKey  = "ISTIO_VERSION"
    		istioProxyShaKey = "ISTIO_PROXY_SHA"
    	)
    
    	md := bootstrapDump.GetBootstrap().GetNode().GetMetadata().GetFields()
    
    	if versionPB, ok := md[istioVersionKey]; ok {
    		version = versionPB.GetStringValue()
    	}
    	if shaPB, ok := md[istioProxyShaKey]; ok {
    		sha = shaPB.GetStringValue()
    Registered: 2025-05-28 22:53
    - Last Modified: 2025-01-15 15:19
    - 7.3K bytes
    - Viewed (0)
Back to top