@Test public void getHandlerId() throws Exception { Map<String, String> conf = createConf(); declare(conf, "default", MockCommandScriptHandler.class); CommandScriptHandlerDispatcher dispatcher = create(conf); assertThat(dispatcher.getHandlerId(), is(PREFIX)); }
@Override public String getHandlerId() { return prefix; }
ExecutionScriptHandlerDispatcher implements ExecutionScriptHandler<T> { @Override public String getHandlerId() { return prefix; } }
ExecutionScriptHandlerDispatcher implements ExecutionScriptHandler<T> { @Override public String getHandlerId() { return prefix; } protected  ExecutionScriptHandlerDispatcher(Class<? extends ExecutionScriptHandler<T>> handlerKind); }
ExecutionScriptHandlerDispatcher implements ExecutionScriptHandler<T> { @Override public String getHandlerId() { return prefix; } protected  ExecutionScriptHandlerDispatcher(Class<? extends ExecutionScriptHandler<T>> handlerKind); @Override void configure(ServiceProfile<?> profile); @Override String getHandlerId(); @Override String getResourceId(
            ExecutionContext context,
            ExecutionScript script); @Override Map<String, String> getProperties(
            ExecutionContext context,
            ExecutionScript script); @Override Map<String, String> getEnvironmentVariables(
            ExecutionContext context,
            ExecutionScript script); @Override void setUp(ExecutionMonitor monitor, ExecutionContext context); @Override void execute(
            ExecutionMonitor monitor,
            ExecutionContext context,
            T script); @Override void cleanUp(ExecutionMonitor monitor, ExecutionContext context); }
ExecutionScriptHandlerDispatcher implements ExecutionScriptHandler<T> { @Override public String getHandlerId() { return prefix; } protected  ExecutionScriptHandlerDispatcher(Class<? extends ExecutionScriptHandler<T>> handlerKind); @Override void configure(ServiceProfile<?> profile); @Override String getHandlerId(); @Override String getResourceId(
            ExecutionContext context,
            ExecutionScript script); @Override Map<String, String> getProperties(
            ExecutionContext context,
            ExecutionScript script); @Override Map<String, String> getEnvironmentVariables(
            ExecutionContext context,
            ExecutionScript script); @Override void setUp(ExecutionMonitor monitor, ExecutionContext context); @Override void execute(
            ExecutionMonitor monitor,
            ExecutionContext context,
            T script); @Override void cleanUp(ExecutionMonitor monitor, ExecutionContext context);  }