Interface Lifecycle.Phase
- Enclosing interface:
Lifecycle
public static interface Lifecycle.Phase
A phase in the lifecycle.
A phase is identified by its name. It also contains a list of plugins bound to that phase,
a list of
links
, and a list of sub-phases. This forms a tree of phases.- Since:
- 4.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptionReturns a stream of all phases, including this phase and all nested phases.links()
Returns the collection of links from this phase to other phases.name()
Returns the name of this phase.phases()
Returns the list of sub-phases.plugins()
Returns the list of plugins bound to this phase.
-
Field Details
-
ALL
- See Also:
-
EACH
- See Also:
-
BUILD
- See Also:
-
INITIALIZE
- See Also:
-
VALIDATE
- See Also:
-
SOURCES
- See Also:
-
RESOURCES
- See Also:
-
COMPILE
- See Also:
-
READY
- See Also:
-
PACKAGE
- See Also:
-
VERIFY
- See Also:
-
UNIT_TEST
- See Also:
-
TEST_SOURCES
- See Also:
-
TEST_RESOURCES
- See Also:
-
TEST_COMPILE
- See Also:
-
TEST
- See Also:
-
INTEGRATION_TEST
- See Also:
-
INSTALL
- See Also:
-
DEPLOY
- See Also:
-
CLEAN
- See Also:
-
-
Method Details
-
name
-
plugins
-
links
Returns the collection of links from this phase to other phases.- Returns:
- the collection of links
-
phases
Returns the list of sub-phases.- Returns:
- the list of sub-phases
-
allPhases
Returns a stream of all phases, including this phase and all nested phases.- Returns:
- a stream of all phases
-