jetbrains.buildServer.buildTriggers
Interface PolledTriggerContext


public interface PolledTriggerContext

Context of the polled build trigger call


Method Summary
 SBuildType getBuildType()
          Build configuration for which the trigger is called
 CustomDataStorage getCustomDataStorage()
          Returns custom data storage associated with build configuration and trigger descriptor.
 java.util.Date getPreviousCallTime()
          Time of the previous call of the trigger, can be null if this is the first time the trigger is called
 BuildTriggerDescriptor getTriggerDescriptor()
          Build trigger settings
 

Method Detail

getBuildType

@NotNull
SBuildType getBuildType()
Build configuration for which the trigger is called

Returns:
see above

getTriggerDescriptor

@NotNull
BuildTriggerDescriptor getTriggerDescriptor()
Build trigger settings

Returns:
see above

getPreviousCallTime

@Nullable
java.util.Date getPreviousCallTime()
Time of the previous call of the trigger, can be null if this is the first time the trigger is called

Returns:
see above

getCustomDataStorage

@NotNull
CustomDataStorage getCustomDataStorage()
Returns custom data storage associated with build configuration and trigger descriptor. This storage can be used for remembering the per build type state of the build trigger.

Returns:
custom data storage for the pair: build configuration and trigger descriptor