jetbrains.buildServer.serverSide
Interface TriggeredBy


public interface TriggeredBy

Contains detailed information about who added build in queue and with what parameters.


Method Summary
 java.lang.String getAsString()
          Returns text to show in the UI
 java.lang.String getAsString(Filter<java.lang.String> paramNameFilter)
          Returns text to show in the UI
 java.util.Map<java.lang.String,java.lang.String> getParameters()
          Returns additional parameters specified when build was triggered.
 java.lang.String getRawTriggeredBy()
          Returns raw (unparsed) triggered by field
 java.util.Date getTriggeredDate()
          Returns date when build was triggered.
 SUser getUser()
          Returns user who triggered this build.
 boolean isTriggeredByUser()
          Returns true if build was triggered by user.
 

Method Detail

getAsString

@NotNull
java.lang.String getAsString()
Returns text to show in the UI

Returns:
text to show in the UI

getAsString

@NotNull
java.lang.String getAsString(@NotNull
                                     Filter<java.lang.String> paramNameFilter)
Returns text to show in the UI

Parameters:
paramNameFilter - filter for including into string presentation only needed information
Returns:
text to show in the UI
Since:
6.5.2

getRawTriggeredBy

java.lang.String getRawTriggeredBy()
Returns raw (unparsed) triggered by field

Returns:
see above

getUser

@Nullable
SUser getUser()
Returns user who triggered this build. If build was not triggered by user returns null. Can also return null if user who triggered build was deleted.

Returns:
user who triggered build or null.

isTriggeredByUser

boolean isTriggeredByUser()
Returns true if build was triggered by user.

Returns:
see above

getTriggeredDate

@NotNull
java.util.Date getTriggeredDate()
Returns date when build was triggered.

Returns:
date when build was triggered.

getParameters

@NotNull
java.util.Map<java.lang.String,java.lang.String> getParameters()
Returns additional parameters specified when build was triggered.

Returns:
see above