@Indexed @Documented @Retention(value=RUNTIME) @Target(value=METHOD) public @interface Terminator
Initializer
but used during the shut down.Modifier and Type | Optional Element and Description |
---|---|
TermMilestone |
after
Indicates that the specified milestone is necessary before executing this terminator.
|
String[] |
attains
Indicates the milestones that this terminator contributes to.
|
TermMilestone |
before
Indicates that this terminator is a necessary step before achieving the specified milestone.
|
String |
displayName
Key in
Messages.properties that represents what this task is about. |
String[] |
requires
Indicates the milestones necessary before executing this terminator.
|
public abstract TermMilestone after
This has the identical purpose as requires()
, but it's separated to allow better type-safety
when using TermMilestone
as a requirement (since enum member definitions need to be constant.)
public abstract TermMilestone before
This has the identical purpose as attains()
. See after()
for why there are two things
to achieve the same goal.
public abstract String[] requires
public abstract String[] attains
public abstract String displayName
Messages.properties
that represents what this task is about. Used for rendering the progress.
Defaults to "${short class name}.${method Name}".Copyright © 2004–2022. All rights reserved.