public abstract class BaseReactiveMission<RESULT> extends Object implements ReactiveMission<RESULT>
| Constructor and Description |
|---|
BaseReactiveMission() |
| Modifier and Type | Method and Description |
|---|---|
ReactiveMission<RESULT> |
first(io.magentys.Mission... missions) |
Boolean |
hasStrategy() |
ReactiveMission<RESULT> |
on(CherryEvent event,
io.magentys.Mission... missions) |
ReactiveMission<RESULT> |
on(Class<? extends Throwable> throwableEvent,
io.magentys.Mission... missions) |
ReactiveMission<RESULT> |
onAnyException(io.magentys.Mission... missions) |
ReactiveMission<RESULT> |
onEvents(Set<CherryEvent> cherryEvents,
io.magentys.Mission... missions) |
ReactiveMission<RESULT> |
onExceptions(Set<Class<? extends Throwable>> events,
io.magentys.Mission... missions) |
ReactiveMission<RESULT> |
onSuccess(io.magentys.Mission... missions) |
int |
retries() |
ReactiveMission<RESULT> |
setNarrateExecutionTime(boolean shouldNarrateExecutionTime) |
Boolean |
shouldNarrateExecutionTime() |
Optional<MissionStrategy> |
strategy() |
ReactiveMission<RESULT> |
timeout(scala.concurrent.duration.FiniteDuration duration,
io.magentys.Mission... missions) |
ReactiveMission<RESULT> |
timesToRetry(Integer times,
io.magentys.Mission... missions) |
ReactiveMission<RESULT> |
withStrategy(MissionStrategy missionStrategy) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnamepublic ReactiveMission<RESULT> timeout(scala.concurrent.duration.FiniteDuration duration, io.magentys.Mission... missions)
timeout in interface Eventful<ReactiveMission<RESULT>>public ReactiveMission<RESULT> timesToRetry(Integer times, io.magentys.Mission... missions)
timesToRetry in interface Eventful<ReactiveMission<RESULT>>public ReactiveMission<RESULT> on(CherryEvent event, io.magentys.Mission... missions)
on in interface Eventful<ReactiveMission<RESULT>>public ReactiveMission<RESULT> on(Class<? extends Throwable> throwableEvent, io.magentys.Mission... missions)
on in interface Eventful<ReactiveMission<RESULT>>public ReactiveMission<RESULT> onAnyException(io.magentys.Mission... missions)
onAnyException in interface Eventful<ReactiveMission<RESULT>>public ReactiveMission<RESULT> onEvents(Set<CherryEvent> cherryEvents, io.magentys.Mission... missions)
onEvents in interface Eventful<ReactiveMission<RESULT>>public ReactiveMission<RESULT> onExceptions(Set<Class<? extends Throwable>> events, io.magentys.Mission... missions)
onExceptions in interface Eventful<ReactiveMission<RESULT>>public ReactiveMission<RESULT> first(io.magentys.Mission... missions)
first in interface Eventful<ReactiveMission<RESULT>>public ReactiveMission<RESULT> onSuccess(io.magentys.Mission... missions)
onSuccess in interface Eventful<ReactiveMission<RESULT>>public ReactiveMission<RESULT> withStrategy(MissionStrategy missionStrategy)
withStrategy in interface ReactiveMission<RESULT>public Optional<MissionStrategy> strategy()
strategy in interface ReactiveMission<RESULT>public Boolean hasStrategy()
hasStrategy in interface ReactiveMission<RESULT>public ReactiveMission<RESULT> setNarrateExecutionTime(boolean shouldNarrateExecutionTime)
setNarrateExecutionTime in interface Eventful<ReactiveMission<RESULT>>public int retries()
retries in interface Eventful<ReactiveMission<RESULT>>public Boolean shouldNarrateExecutionTime()
shouldNarrateExecutionTime in interface Eventful<ReactiveMission<RESULT>>Copyright © 2016. All rights reserved.