Package com.polarion.alm.builder.spi
Class IBuildExtenderRepository.Hook
java.lang.Object
com.polarion.alm.builder.spi.IBuildExtenderRepository.Hook
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- IBuildExtenderRepository
Build extension hook "enumeration".
Values of this enumeration treat Object.equals(java.lang.Object)
and
==
the same.
- Version:
- $Revision$ $Date$
- Author:
- Stepan Roh, Polarion Software
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IBuildExtenderRepository.Hook
hooked on all normal builds or builds with calculations -BUILD
static final IBuildExtenderRepository.Hook
hooked on all calculations or builds with calculations -CALCULATION
static final IBuildExtenderRepository.Hook
hooked at the end of master build job's activation (before any child job is activated) -CREATED
static final IBuildExtenderRepository.Hook
hooked at the end of master build job (when build execution ends) -FINISHED
static final IBuildExtenderRepository.Hook
hooked at the start of master build job (when build execution starts) -STARTED
-
Method Summary
Modifier and TypeMethodDescriptionfromString
(String s) Return enumeration value for given name.getName()
Return hook name.toString()
-
Field Details
-
HOOK_CREATED
hooked at the end of master build job's activation (before any child job is activated) -CREATED
-
HOOK_STARTED
hooked at the start of master build job (when build execution starts) -STARTED
-
HOOK_FINISHED
hooked at the end of master build job (when build execution ends) -FINISHED
-
HOOK_BUILD
hooked on all normal builds or builds with calculations -BUILD
-
HOOK_CALCULATION
hooked on all calculations or builds with calculations -CALCULATION
-
-
Method Details
-
getName
Return hook name.Same as
toString()
.Do not use for comparison, use
fromString(String)
first.- Returns:
- name (not
null
)
-
toString
-
fromString
Return enumeration value for given name.Comparison is case insensitive.
- Parameters:
s
- name- Returns:
- proper enumeration value (not
null
) - Throws:
IllegalArgumentException
- if name is not known- See Also:
-