- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for ActivationOS (0.14 sec)
-
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivatorTest.java
Profile profile = newProfile(ActivationOS.newBuilder().name("windows")); assertActivation(false, profile, newContext(null, newProperties("linux", "6.5.0-1014-aws", "amd64"))); assertActivation(true, profile, newContext(null, newProperties("windows", "6.5.0-1014-aws", "aarch64"))); } @Test void testNegatedName() { Profile profile = newProfile(ActivationOS.newBuilder().name("!windows"));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.2K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ActivationOSTest.java
/** * Tests {@code ActivationOS}. * */ class ActivationOSTest { @Test void testHashCodeNullSafe() { new ActivationOS().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new ActivationOS().equals(null)); new ActivationOS().equals(new ActivationOS()); } @Test void testEqualsIdentity() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java
import org.apache.maven.model.ActivationOS; import org.apache.maven.model.Profile; import org.apache.maven.model.building.ModelProblemCollector; import org.apache.maven.model.profile.ProfileActivationContext; import org.apache.maven.utils.Os; /** * Determines profile activation based on the operating system of the current runtime platform. * * @see ActivationOS
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java
osActivated.setId( "os-profile" ); Activation osActivation = new Activation(); ActivationOS activationOS = new ActivationOS(); activationOS.setName( "!dddd" ); osActivation.setOs( activationOS ); osActivated.setActivation( osActivation ); Properties props = System.getProperties();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java
prop.setValue(profileProp.getValue()); activation.setProperty(prop); } ActivationOS profileOs = profileActivation.getOs(); if (profileOs != null) { org.apache.maven.model.ActivationOS os = new org.apache.maven.model.ActivationOS(); os.setArch(profileOs.getArch()); os.setFamily(profileOs.getFamily());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.profiles.activation; import org.apache.maven.model.Activation; import org.apache.maven.model.ActivationOS; import org.apache.maven.model.Profile; import org.apache.maven.utils.Os; /** * OperatingSystemProfileActivator */ @Deprecated public class OperatingSystemProfileActivator implements ProfileActivator {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.7K bytes - Viewed (0)