Class FolderPropertiesSnapshotAction
java.lang.Object
hudson.model.InvisibleAction
com.mig82.folders.environment.FolderPropertiesSnapshotAction
- All Implemented Interfaces:
Action, EnvironmentContributingAction, ModelObject
public final class FolderPropertiesSnapshotAction
extends InvisibleAction
implements EnvironmentContributingAction
Stores the immutable folder property snapshot used by a build that opts into build-start exposure.
-
Method Summary
Modifier and TypeMethodDescriptionvoidbuildEnvironment(Run<?, ?> run, EnvVars env) static voidcreateForBuildStart(Run<?, ?> run) Creates a persistent snapshot only when at least one resolved property is exposed at build start.resolveValues(Run<?, ?> run) Returns the persistent build-start snapshot when present, otherwise resolves the current folder configuration.Methods inherited from class InvisibleAction
getDisplayName, getIconFileName, getUrlNameMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Action
getDisplayName, getIconFileName, getUrlNameMethods inherited from interface EnvironmentContributingAction
buildEnvVars
-
Method Details
-
getValues
-
getBuildStartValues
-
getSources
-
buildEnvironment
- Specified by:
buildEnvironmentin interfaceEnvironmentContributingAction
-
createForBuildStart
Creates a persistent snapshot only when at least one resolved property is exposed at build start. -
resolveValues
-