Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getArtifact (0.05 sec)

  1. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

            assertNull(pluginHelper.getArtifact(null, "1.0.0"));
            assertNull(pluginHelper.getArtifact("test", null));
            assertNull(pluginHelper.getArtifact("", "1.0.0"));
            assertNull(pluginHelper.getArtifact("test", ""));
        }
    
        public void test_isExcludedName_crawler() {
            assertTrue(pluginHelper.isExcludedName(ArtifactType.CRAWLER, "fess-crawler"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/plugin/ApiAdminPluginAction.java

        // POST /api/admin/plugin
        @Execute
        public JsonResponse<ApiResult> post$index(final InstallBody body) {
            validateApi(body, messages -> {});
            final Artifact artifact = ComponentUtil.getPluginHelper().getArtifact(body.name, body.version);
            if (artifact == null) {
                return asJson(
                        new ApiResult.ApiErrorResponse().message("invalid name or version").status(ApiResult.Status.BAD_REQUEST).result());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

            return item;
        }
    
        private Artifact getArtifactFromInstallForm(final InstallForm form) {
            final String[] values = form.id.split(":");
            return ComponentUtil.getPluginHelper().getArtifact(values[0], values[1]);
        }
    
        /**
         * Installs the specified artifact in a background thread.
         * Also removes any previously installed versions of the same plugin.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/PluginHelper.java

         *
         * @param name the name of the artifact
         * @param version the version of the artifact
         * @return the artifact if found, null otherwise
         */
        public Artifact getArtifact(final String name, final String version) {
            if (StringUtil.isBlank(name) || StringUtil.isBlank(version)) {
                return null;
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top