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

pl.allegro.tech.build.axion.release.domain.properties.HooksProperties Maven / Gradle / Ivy

There is a newer version: 1.18.15
Show newest version
package pl.allegro.tech.build.axion.release.domain.properties;

import pl.allegro.tech.build.axion.release.domain.hooks.ReleaseHookAction;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class HooksProperties {

    private final List preReleaseHooks;
    private final List postReleaseHooks;

    public HooksProperties(List preReleaseHooks, List postReleaseHooks) {
        this.preReleaseHooks = new ArrayList<>(preReleaseHooks);
        this.postReleaseHooks = new ArrayList<>(postReleaseHooks);
    }

    public final List getPreReleaseHooks() {
        return Collections.unmodifiableList(preReleaseHooks);
    }

    public final List getPostReleaseHooks() {
        return Collections.unmodifiableList(postReleaseHooks);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy