pl.allegro.tech.build.axion.release.domain.properties.HooksProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of axion-release-plugin Show documentation
Show all versions of axion-release-plugin Show documentation
Gradle release and version management plugin
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