Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
PausePhase |
|
| 1.0;1 |
1 | /* | |
2 | * Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com | |
3 | * The software in this package is published under the terms of the CPAL v1.0 | |
4 | * license, a copy of which has been included with this distribution in the | |
5 | * LICENSE.txt file. | |
6 | */ | |
7 | package org.mule.service; | |
8 | ||
9 | import org.mule.lifecycle.phases.DefaultLifecyclePhase; | |
10 | ||
11 | /** | |
12 | * Defines a phase phase that will invoke the {@link org.mule.service.Pausable#pause()} method on an object. | |
13 | * This phase must be paired with the {@link Resumable} phase. | |
14 | */ | |
15 | public class PausePhase extends DefaultLifecyclePhase | |
16 | { | |
17 | public PausePhase() | |
18 | { | |
19 | 0 | super(Pausable.PHASE_NAME, Pausable.class, Resumable.PHASE_NAME); |
20 | 0 | } |
21 | } |