Class BranchIndexingTriggerDeterminant

  • All Implemented Interfaces:
    IUsernameSettable<jenkins.branch.BranchIndexingCause>

    public class BranchIndexingTriggerDeterminant
    extends Object
    implements IUsernameSettable<jenkins.branch.BranchIndexingCause>
    • Constructor Detail

      • BranchIndexingTriggerDeterminant

        public BranchIndexingTriggerDeterminant()
    • Method Detail

      • setJenkinsUserBuildVars

        public boolean setJenkinsUserBuildVars​(jenkins.branch.BranchIndexingCause cause,
                                               Map<String,​String> variables)
        Description copied from interface: IUsernameSettable
        Adds username build variables extracted from build cause to map of build variables.
        Specified by:
        setJenkinsUserBuildVars in interface IUsernameSettable<jenkins.branch.BranchIndexingCause>
        Parameters:
        cause - cause where to get username from.
        variables - map of build variables, where to add username variables.
        Returns:
        true if username was determined and added to the passed map, false otherwise.
      • getUsedCauseClass

        public Class<jenkins.branch.BranchIndexingCause> getUsedCauseClass()
        Description copied from interface: IUsernameSettable
        Returns Cause subclass used to determine user name.
        Specified by:
        getUsedCauseClass in interface IUsernameSettable<jenkins.branch.BranchIndexingCause>
        Returns:
        class used to determine user name.