Package com.mig82.folders.environment
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 hudson.model.InvisibleAction
getDisplayName, getIconFileName, getUrlNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.Action
getDisplayName, getIconFileName, getUrlNameMethods inherited from interface hudson.model.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
Returns the persistent build-start snapshot when present, otherwise resolves the current folder configuration.
-