Interface PolledTriggerContext


  • public interface PolledTriggerContext
    Context of the polled build trigger call
    • 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
      • getLogger

        @NotNull
        com.intellij.openapi.diagnostic.Logger getLogger()
        Returns logger which can be used to log trigger related activity. Note the provided logger will automatically prepend all messsages with id of the build configuraiton where the trigger belongs.
        Returns:
        see above
        Since:
        2021.1