@Test public void testProcess() throws IllegalAccessException, InstantiationException { final Map<Class<? extends ControlledPwmServlet>, Map<String, Method>> dataMap = getClassAndMethods(); for ( final Class<? extends ControlledPwmServlet> controlledPwmServlet : dataMap.keySet() ) { final Class<? extends AbstractPwmServlet.ProcessAction> processActionsClass = controlledPwmServlet.newInstance().getProcessActionsClass(); if ( !processActionsClass.isEnum() ) { Assert.fail( controlledPwmServlet.getName() + " process action class must be an enum" ); } } }
public abstract Class<? extends ProcessAction> getProcessActionsClass( );
ControlledPwmServlet extends AbstractPwmServlet implements PwmServlet { public abstract Class<? extends ProcessAction> getProcessActionsClass( ); }
ControlledPwmServlet extends AbstractPwmServlet implements PwmServlet { public abstract Class<? extends ProcessAction> getProcessActionsClass( );  }
ControlledPwmServlet extends AbstractPwmServlet implements PwmServlet { public abstract Class<? extends ProcessAction> getProcessActionsClass( );  String servletUriRemainder( final PwmRequest pwmRequest, final String command ); abstract Class<? extends ProcessAction> getProcessActionsClass( ); abstract ProcessStatus preProcessCheck( PwmRequest pwmRequest ); }
ControlledPwmServlet extends AbstractPwmServlet implements PwmServlet { public abstract Class<? extends ProcessAction> getProcessActionsClass( );  String servletUriRemainder( final PwmRequest pwmRequest, final String command ); abstract Class<? extends ProcessAction> getProcessActionsClass( ); abstract ProcessStatus preProcessCheck( PwmRequest pwmRequest );  }