org.apache.maven.api.settings.Activation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of maven-api-settings Show documentation
Show all versions of maven-api-settings Show documentation
Maven 4 API - Immutable Settings model.
// =================== 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;
/**
* The conditions within the build runtime environment which will trigger
* the automatic inclusion of the parent build profile.
*/
@Experimental
@Generated @ThreadSafe @Immutable
public class Activation
implements Serializable, InputLocationTracker
{
/**
* Flag specifying whether this profile is active as a default.
*/
final boolean activeByDefault;
/**
* Specifies that this profile will be activated when a matching JDK is detected.
*/
final String jdk;
/**
* Specifies that this profile will be activated when matching OS attributes are detected.
*/
final ActivationOS os;
/**
* Specifies that this profile will be activated when this property is specified.
*/
final ActivationProperty property;
/**
* Specifies that this profile will be activated based on existence of a file.
*/
final ActivationFile file;
/**
* Specifies that this profile will be activated based on the project's packaging.
*/
final String packaging;
/**
* The condition which must be satisfied to activate the profile.
*/
final String condition;
/** Locations */
final Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy