org.apache.maven.api.settings.ActivationFile 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;
/**
* This is the file specification used to activate a profile. The missing value will be the location
* of a file that needs to exist, and if it doesn't the profile must run. On the other hand exists will test
* for the existence of the file and if it is there will run the profile.
*/
@Experimental
@Generated @ThreadSafe @Immutable
public class ActivationFile
implements Serializable, InputLocationTracker
{
/**
* The name of the file that should be missing to activate a profile. Please note, that missing and exists
* fields cannot be used together. Only one of them should be used at any one time.
*/
final String missing;
/**
* The name of the file that should exist to activate a profile. Please note, that missing and exists
* fields cannot be used together. Only one of them should be used at any one time.
*/
final String exists;
/** Locations */
final Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy