org.apache.maven.api.settings.ActivationOS Maven / Gradle / Ivy
// =================== DO NOT EDIT THIS FILE ====================
// Generated by Modello Velocity from model.vm
// template, any modifications will be overwritten.
// ==============================================================
package org.apache.maven.api.settings;
import java.io.Serializable;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import java.util.Set;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import org.apache.maven.api.annotations.Experimental;
import org.apache.maven.api.annotations.Generated;
import org.apache.maven.api.annotations.Immutable;
import org.apache.maven.api.annotations.Nonnull;
import org.apache.maven.api.annotations.NotThreadSafe;
import org.apache.maven.api.annotations.ThreadSafe;
/**
* This is an activator which will detect an operating system's attributes in order to activate
* its profile.
*/
@Experimental
@Generated @ThreadSafe @Immutable
public class ActivationOS
implements Serializable, InputLocationTracker
{
/**
* The name of the OS to be used to activate a profile.
*/
final String name;
/**
* The general family of the OS to be used to activate a profile (e.g. 'windows')
*/
final String family;
/**
* The architecture of the OS to be used to activate a profile.
*/
final String arch;
/**
* The version of the OS to be used to activate a profile.
*/
final String version;
/** Locations */
final Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy