Class GenericCauseDeterminant
java.lang.Object
org.jenkinsci.plugins.builduser.varsetter.impl.GenericCauseDeterminant
- All Implemented Interfaces:
IUsernameSettable<org.jenkinsci.plugins.gwt.GenericCause>
public class GenericCauseDeterminant
extends Object
implements IUsernameSettable<org.jenkinsci.plugins.gwt.GenericCause>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<org.jenkinsci.plugins.gwt.GenericCause> ReturnsCausesubclass used to determine username.booleansetJenkinsUserBuildVars(org.jenkinsci.plugins.gwt.GenericCause cause, Map<String, String> variables) Adds username build variables extracted from build cause to map of build variables.
-
Field Details
-
GENERIC_TRIGGER_DUMMY_USER_NAME
- See Also:
-
GENERIC_TRIGGER_DUMMY_USER_ID
- See Also:
-
-
Constructor Details
-
GenericCauseDeterminant
public GenericCauseDeterminant()
-
-
Method Details
-
setJenkinsUserBuildVars
public boolean setJenkinsUserBuildVars(org.jenkinsci.plugins.gwt.GenericCause 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<org.jenkinsci.plugins.gwt.GenericCause>- 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<org.jenkinsci.plugins.gwt.GenericCause>- Returns:
- class used to determine username.
-