- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getAppType (0.06 sec)
-
src/main/java/org/codelibs/fess/util/ResourceUtil.java
* This is used to determine the deployment environment (e.g., "docker"). * * @return the application type string, or empty string if not set */ public static String getAppType() { final String appType = System.getenv(FESS_APP_TYPE); if (StringUtil.isNotBlank(appType)) { return appType; } return StringUtil.EMPTY; } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ResourceUtilTest.java
String originalAppType = System.getenv("FESS_APP_TYPE"); // Since we can't modify environment variables directly, // we test the current behavior String appType = ResourceUtil.getAppType(); assertNotNull(appType); // appType should be either empty string or the actual env value assertTrue(appType.isEmpty() || appType.length() > 0); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.5K bytes - Viewed (0)