All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.nemerosa.ontrack.model.support.EnvService Maven / Gradle / Ivy

There is a newer version: 4.4.5
Show newest version
package net.nemerosa.ontrack.model.support;

import net.nemerosa.ontrack.model.structure.VersionInfo;

import java.io.File;

public interface EnvService {

    /**
     * List of active profiles for the application
     *
     * @see net.nemerosa.ontrack.common.RunProfile
     */
    String getProfiles();

    /**
     * Version of the application
     */
    VersionInfo getVersion();

    /**
     * Gets a working directory
     *
     * @param context General context for the working directory
     * @param name    Name of the directory into this context
     * @return A directory that exists
     */
    File getWorkingDir(String context, String name);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy