Interface PhasedActionResult<T>
-
- All Superinterfaces:
InternalProtocolInterface
,java.io.Serializable
public interface PhasedActionResult<T> extends InternalProtocolInterface, java.io.Serializable
DO NOT CHANGE THIS INTERFACE. It is part of the cross-version protocol. A result of one of the actions of anInternalPhasedAction
. This result will be supplied toPhasedActionResultListener
.- Since:
- 4.8
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PhasedActionResult.Phase
Phases of the build when it is possible to run an action provided by the client.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PhasedActionResult.Phase
getPhase()
Gets the phase of the build when the action was run.T
getResult()
Gets the action result if it completed successfully.
-
-
-
Method Detail
-
getResult
T getResult()
Gets the action result if it completed successfully.- Returns:
- The result.
-
getPhase
PhasedActionResult.Phase getPhase()
Gets the phase of the build when the action was run.- Returns:
- The phase.
-
-