Class BranchIndexingTriggerDeterminant
java.lang.Object
org.jenkinsci.plugins.builduser.varsetter.impl.BranchIndexingTriggerDeterminant
- All Implemented Interfaces:
IUsernameSettable<jenkins.branch.BranchIndexingCause>
public class BranchIndexingTriggerDeterminant
extends Object
implements IUsernameSettable<jenkins.branch.BranchIndexingCause>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<jenkins.branch.BranchIndexingCause>ReturnsCausesubclass used to determine username.booleansetJenkinsUserBuildVars(jenkins.branch.BranchIndexingCause cause, Map<String, String> variables) Adds username build variables extracted from build cause to map of build variables.
-
Constructor Details
-
BranchIndexingTriggerDeterminant
public BranchIndexingTriggerDeterminant()
-
-
Method Details
-
setJenkinsUserBuildVars
public boolean setJenkinsUserBuildVars(jenkins.branch.BranchIndexingCause cause, Map<String, String> variables) Description copied from interface:IUsernameSettableAdds username build variables extracted from build cause to map of build variables.- Specified by:
setJenkinsUserBuildVarsin interfaceIUsernameSettable<jenkins.branch.BranchIndexingCause>- Parameters:
cause- cause where to get username from.variables- ap of build variables, where to add username variables.- Returns:
trueif username was determined and added to the passed map,falseotherwise.
-
getUsedCauseClass
Description copied from interface:IUsernameSettableReturnsCausesubclass used to determine username.- Specified by:
getUsedCauseClassin interfaceIUsernameSettable<jenkins.branch.BranchIndexingCause>- Returns:
- class used to determine username.
-