- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for isFamily (0.05 sec)
-
compat/maven-model-builder/src/main/java/org/apache/maven/utils/Os.java
OS_FAMILY = getOsFamily(); IS_WINDOWS = isFamily(FAMILY_WINDOWS); } private Os() {} /** * Determines if the OS on which Maven is executing matches the * given OS family. * * @param family the family to check for * @return true if the OS matches * */ public static boolean isFamily(String family) { return isFamily(family, OS_NAME);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Oct 16 06:12:36 UTC 2025 - 7.2K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileModelSourceTest.java
assertTrue(instance.equals(new FileModelSource(tempFile))); } @Test void testWindowsPaths() throws Exception { assumeTrue(Os.isFamily("Windows")); File upperCaseFile = createTempFile("TESTE"); String absolutePath = upperCaseFile.getAbsolutePath(); File lowerCaseFile = new File(absolutePath.toLowerCase());
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 2.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java
boolean reverse = false; if (test.startsWith("!")) { reverse = true; test = test.substring(1); } boolean result = Os.isFamily(test, actualName); return reverse ? !result : result; }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 5.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java
String test = family; boolean reverse = false; if (test.startsWith("!")) { reverse = true; test = test.substring(1); } boolean result = Os.isFamily(test); if (reverse) { return !result; } else { return result; } }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 3.7K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java
new EnhancedComponentConfigurator().configureComponent(mojo, configuration, evaluator, null); assertEquals( Objects.equals(path.toUri().toString(), path.toUri().toASCIIString()), !Os.isFamily(Os.FAMILY_WINDOWS)); assertEquals(mojo.uri, path.toUri()); assertEquals(mojo.path, path); assertEquals(mojo.uriString, path.toUri().toString());
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Mar 26 19:31:34 UTC 2025 - 19.3K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java
new EnhancedComponentConfigurator().configureComponent(mojo, configuration, evaluator, null); assertEquals( Objects.equals(path.toUri().toString(), path.toUri().toASCIIString()), !Os.isFamily(Os.FAMILY_WINDOWS)); assertEquals(mojo.uri, path.toUri()); assertEquals(mojo.path, path); assertEquals(mojo.uriString, path.toUri().toString());
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Mar 26 19:31:34 UTC 2025 - 19.4K bytes - Viewed (0) -
impl/maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
private String arch; public void Os(); public void Os(String); public void setFamily(String); public void setName(String); public void setArch(String); public void setVersion(String); public boolean eval() throws Exception; public static boolean isFamily(String); public static boolean isName(String); public static boolean isArch(String); public static boolean isVersion(String); public static boolean isOs(String, String, String, String); static void <clinit>(); } org/codehaus/plexus/util/PathTool.class...
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 164.6K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.19.md
- Updated the API documentation for Service.Spec.IPFamily to warn that its exact semantics will probably change before the dual-stack feature goes GA, and users should look at ClusterIP or Endpoints, not IPFamily, to figure out if an existing
Registered: Fri Dec 26 09:05:12 UTC 2025 - Last Modified: Wed Jan 05 05:42:32 UTC 2022 - 489.7K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.20.md
- Add dual-stack Services (alpha). This is a BREAKING CHANGE to an alpha API. It changes the dual-stack API wrt Service from a single ipFamily field to 3 fields: ipFamilyPolicy (SingleStack, PreferDualStack, RequireDualStack), ipFamilies (a list of families assigned), and clusterIPs (inclusive of
Registered: Fri Dec 26 09:05:12 UTC 2025 - Last Modified: Wed Jan 19 21:05:45 UTC 2022 - 409K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.16.md
* 1. `--service-cluster-ip-range[0]` is consider primary service range, and will be used for any service with `Service.Spec.IPFamily = nil` or any service in the at the time of turning on the feature flag.
Registered: Fri Dec 26 09:05:12 UTC 2025 - Last Modified: Wed Oct 23 20:13:20 UTC 2024 - 345.2K bytes - Viewed (0)