Package com.polarion.alm.builder.spi
Interface IBuildExtender.IExtenderContext
- Enclosing interface:
- IBuildExtender
public static interface IBuildExtender.IExtenderContext
Extender execution context.
- Version:
- $Revision$ $Date$
- Author:
- Stepan Roh, Polarion Software
-
Method Summary
Modifier and TypeMethodDescriptiongetBuild()
Current build.Build artifacts which were part of build.Master build job executing the extender.Repository ofIContextualBuildArtifact
s.getHooks()
Currently active hooks.Current logger.
-
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
ofIBuildExtenderRepository.Hook
s (notnull
)
-
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
ofIBuildArtifact
s (notnull
)
-
getContextualBuildArtifactRepository
IContextualBuildArtifactRepository getContextualBuildArtifactRepository()Repository ofIContextualBuildArtifact
s.- Returns:
- contextual build artifact repository (not
null
)
-
getLogger
ILogger getLogger()Current logger.Can be used for logging, but is mainly intended for retrieval of
ILogEvent
s.- Returns:
- logger (not
null
)
-