Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for addMapping (0.09 sec)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/resident/DefaultResidentMavenInvokerTest.java

        @Override
        protected Invoker<MavenInvokerRequest<MavenOptions>> createInvoker() {
            return new DefaultResidentMavenInvoker(ProtoLookup.builder()
                    .addMapping(ClassWorld.class, new ClassWorld("plexus.core", ClassLoader.getSystemClassLoader()))
                    .build());
        }
    
        @Override
        protected Parser<MavenInvokerRequest<MavenOptions>> createParser() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenCling.java

            super(classWorld);
        }
    
        @Override
        protected Invoker<MavenInvokerRequest<MavenOptions>> createInvoker() {
            return new DefaultLocalMavenInvoker(
                    ProtoLookup.builder().addMapping(ClassWorld.class, classWorld).build());
        }
    
        @Override
        protected MavenInvokerRequest<MavenOptions> parseArguments(String[] args) throws ParserException, IOException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/local/DefaultLocalMavenInvokerTest.java

        @Override
        protected Invoker<MavenInvokerRequest<MavenOptions>> createInvoker() {
            return new DefaultLocalMavenInvoker(ProtoLookup.builder()
                    .addMapping(ClassWorld.class, new ClassWorld("plexus.core", ClassLoader.getSystemClassLoader()))
                    .build());
        }
    
        @Override
        protected Parser<MavenInvokerRequest<MavenOptions>> createParser() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenEncCling.java

            super(classWorld);
        }
    
        @Override
        protected Invoker<EncryptInvokerRequest> createInvoker() {
            return new DefaultEncryptInvoker(
                    ProtoLookup.builder().addMapping(ClassWorld.class, classWorld).build());
        }
    
        @Override
        protected EncryptInvokerRequest parseArguments(String[] args) throws ParserException, IOException {
            return new DefaultEncryptParser()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLookup.java

            private final Map<Class<?>, Object> components = new HashMap<>();
    
            public ProtoLookup build() {
                return new ProtoLookup(components);
            }
    
            public <T> Builder addMapping(Class<T> type, T component) {
                requireNonNull(type, "type");
                requireNonNull(component, "component");
                if (components.put(type, component) != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/UpgradeUtil.java

                // ignore
            } catch (final Exception e) {
                logger.warn("{} is not found.", aliasConfigPath, e);
            }
            return false;
        }
    
        public static boolean addMapping(final IndicesAdminClient indicesClient, final String index, final String docType,
                final String indexResourcePath) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

                searchEngineClient.admin().cluster().prepareHealth(toIndex).setWaitForYellowStatus().execute(ActionListener.wrap(response -> {
                    searchEngineClient.addMapping(docIndex, "doc", toIndex);
                    if (searchEngineClient.copyDocIndex(fromIndex, toIndex, replaceAliases) && replaceAliases
                            && !searchEngineClient.updateAlias(toIndex)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 14K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                        if (!exists) {
                            createIndex(configIndex, indexName);
                            createAlias(configIndex, indexName);
                        }
                    }
    
                    addMapping(configIndex, configType, indexName);
                } else {
                    logger.warn("Invalid index config name: {}", configName);
                }
            });
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
Back to top