1 8 package org.apache.avalon.excalibur.container; 9 10 import org.apache.avalon.framework.ValuedEnum; 11 12 17 public final class State 18 extends ValuedEnum 19 { 20 23 public final static State VOID = new State( "VOID", 0 ); 24 25 28 public final static State CREATING = new State( "CREATING", 0 ); 29 30 34 public final static State CREATED = new State( "CREATED", 0 ); 35 36 41 public final static State READYING = new State( "READYING", 0 ); 42 43 47 public final static State READY = new State( "READY", 0 ); 48 49 52 public final static State STARTING = new State( "STARTING", 0 ); 53 54 57 public final static State STARTED = new State( "STARTED", 0 ); 58 59 62 public final static State STOPPING = new State( "STOPPING", 0 ); 63 64 67 public final static State STOPPED = new State( "STOPPED", 0 ); 68 69 72 public final static State DESTROYING = new State( "DESTROYING", 0 ); 73 74 77 public final static State DESTROYED = new State( "DESTROYED", 0 ); 78 79 83 public final static State FAILED = new State( "FAILED", 0 ); 84 85 protected State( final String name, final int value ) 86 { 87 super( name, value ); 88 } 89 } 90 | Popular Tags |