|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IUsernameSettable<T extends hudson.model.Cause>
Interface declaring method for setting jenkins user build variables parametrized by
Cause subclasses.
User based Cause instance is the source of username data.
| Field Summary | |
|---|---|
static String |
BUILD_USER_FIRST_NAME_VAR_NAME
First name of user started build |
static String |
BUILD_USER_ID
Id of user started build |
static String |
BUILD_USER_LAST_NAME_VAR_NAME
Last name of user started build |
static String |
BUILD_USER_VAR_NAME
Full name of user started build |
static String |
UNDEFINED
Optional value for variable which value couldn't be defined. |
| Method Summary | |
|---|---|
Class<T> |
getUsedCauseClass()
Returns Cause subclass used to determine user name. |
boolean |
setJenkinsUserBuildVars(T cause,
Map<String,String> variables)
Adds username build variables extracted from build cause to map of build variables. |
| Field Detail |
|---|
static final String BUILD_USER_VAR_NAME
static final String BUILD_USER_FIRST_NAME_VAR_NAME
static final String BUILD_USER_LAST_NAME_VAR_NAME
static final String BUILD_USER_ID
static final String UNDEFINED
| Method Detail |
|---|
boolean setJenkinsUserBuildVars(T cause,
Map<String,String> variables)
cause - cause where to get username from.variables - map of build variables, where to add username variables.
true if username was determined and added to the passed map,
false otherwise.Class<T> getUsedCauseClass()
Cause subclass used to determine user name.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||