Interface IBuildExtender.IExtenderContext

Enclosing interface:
IBuildExtender

public static interface IBuildExtender.IExtenderContext
Extender execution context.
Version:
$Revision$ $Date$
Author:
Stepan Roh, Polarion Software
  • Method Details

    • getBuildJob

      IMasterBuildJobUnit getBuildJob()
      Master build job executing the extender.
      Returns:
      build job unit (not null)
    • getHooks

      Set getHooks()
      Currently active hooks.
      Returns:
      Set of IBuildExtenderRepository.Hooks (not null)
    • getBuild

      IBuild getBuild()
      Current build.

      Can be freely changed.

      Caller of the extender is responsible for saving the build object (extender must not call IPObject.save() or any other lifecycle method on it).

      Returns:
      build (not null)
    • getBuildArtifacts

      Collection getBuildArtifacts()
      Build artifacts which were part of build.
      Returns:
      Collection of IBuildArtifacts (not null)
    • getContextualBuildArtifactRepository

      IContextualBuildArtifactRepository getContextualBuildArtifactRepository()
      Repository of IContextualBuildArtifacts.
      Returns:
      contextual build artifact repository (not null)
    • getLogger

      ILogger getLogger()
      Current logger.

      Can be used for logging, but is mainly intended for retrieval of ILogEvents.

      Returns:
      logger (not null)