Coverage Report - org.mule.api.lifecycle.LifecycleState
 
Classes in this File Line Coverage Branch Coverage Complexity
LifecycleState
N/A
N/A
1
 
 1  
 /*
 2  
  * $Id: LifecycleState.java 19191 2010-08-25 21:05:23Z tcarlson $
 3  
  * --------------------------------------------------------------------------------------
 4  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 5  
  *
 6  
  * The software in this package is published under the terms of the CPAL v1.0
 7  
  * license, a copy of which has been included with this distribution in the
 8  
  * LICENSE.txt file.
 9  
  */
 10  
 package org.mule.api.lifecycle;
 11  
 
 12  
 /**
 13  
  * A safe facade for lifecycle manager that objects can use to monitor its own state
 14  
  *
 15  
  * @since 3.0
 16  
  */
 17  
 public interface LifecycleState
 18  
 {
 19  
     boolean isInitialised();
 20  
 
 21  
     boolean isInitialising();
 22  
 
 23  
     boolean isStarted();
 24  
 
 25  
     boolean isStarting();
 26  
 
 27  
     boolean isStopped();
 28  
 
 29  
     boolean isStopping();
 30  
 
 31  
     boolean isDisposed();
 32  
 
 33  
     boolean isDisposing();
 34  
 
 35  
     boolean isPhaseComplete(String phase);
 36  
     
 37  
     boolean isPhaseExecuting(String phase);
 38  
 
 39  
     boolean isValidTransition(String phase);
 40  
 
 41  
 }