Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.safehaus.chop.api;


The state dependent and/or impacting signals sent to a runner.
 
 public enum Signal {
     START( 0 ), STOP( 1 ), RESET( 2 ), LOAD( 3 ), COMPLETED( 4 );
 
     private final int id;
 
    private Signalint id ) {
        this. = id;
    }
    public int getId() {
        return ;
    }
    public Signal getint id ) {
        switch ( id ) {
            case 0:
                return ;
            case 1:
                return ;
            case 2:
                return ;
            case 3:
                return ;
            case 4:
                return ;
        }
        throw new RuntimeException"Should never get here!" );
    }
New to GrepCode? Check out our FAQ X