Package com.eclipsesource.restfuse.annotation

Examples of com.eclipsesource.restfuse.annotation.HttpTest.order()


  public int compare( FrameworkMethod method1, FrameworkMethod method2 ) {
    HttpTest annotation1 = method1.getAnnotation( HttpTest.class );
    HttpTest annotation2 = method2.getAnnotation( HttpTest.class );
    if( annotation1 != null && annotation2 != null ) {
      return Integer.valueOf( annotation1.order() )
        .compareTo( Integer.valueOf( annotation2.order() ) );
    }
    return 0;
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.