Class RemoteCauseDeterminant
java.lang.Object
org.jenkinsci.plugins.builduser.varsetter.impl.RemoteCauseDeterminant
- All Implemented Interfaces:
IUsernameSettable<Cause.RemoteCause>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturnsCausesubclass used to determine username.booleansetJenkinsUserBuildVars(Cause.RemoteCause cause, Map<String, String> variables) Adds username build variables extracted from build cause to map of build variables.
-
Constructor Details
-
RemoteCauseDeterminant
public RemoteCauseDeterminant()
-
-
Method Details
-
setJenkinsUserBuildVars
Description copied from interface:IUsernameSettableAdds username build variables extracted from build cause to map of build variables.- Specified by:
setJenkinsUserBuildVarsin interfaceIUsernameSettable<Cause.RemoteCause>- 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<Cause.RemoteCause>- Returns:
- class used to determine username.
-