@Test public void noJobNames() throws Exception { assertTrue(execute(JobNamesMojo.class).toLowerCase(Locale.ENGLISH).contains("job names (0)")); }
@Override public void execute() throws MojoExecutionException, MojoFailureException { final Set<String> names = getOrCreateOperator().getJobNames(); getLog().info("Job names (" + names.size() + "):"); for (final String name : names) { getLog().info(" - " + name); } }
JobNamesMojo extends BatchEEMojoBase { @Override public void execute() throws MojoExecutionException, MojoFailureException { final Set<String> names = getOrCreateOperator().getJobNames(); getLog().info("Job names (" + names.size() + "):"); for (final String name : names) { getLog().info(" - " + name); } } }
JobNamesMojo extends BatchEEMojoBase { @Override public void execute() throws MojoExecutionException, MojoFailureException { final Set<String> names = getOrCreateOperator().getJobNames(); getLog().info("Job names (" + names.size() + "):"); for (final String name : names) { getLog().info(" - " + name); } }  }
JobNamesMojo extends BatchEEMojoBase { @Override public void execute() throws MojoExecutionException, MojoFailureException { final Set<String> names = getOrCreateOperator().getJobNames(); getLog().info("Job names (" + names.size() + "):"); for (final String name : names) { getLog().info(" - " + name); } }  @Override void execute(); }
JobNamesMojo extends BatchEEMojoBase { @Override public void execute() throws MojoExecutionException, MojoFailureException { final Set<String> names = getOrCreateOperator().getJobNames(); getLog().info("Job names (" + names.size() + "):"); for (final String name : names) { getLog().info(" - " + name); } }  @Override void execute();  }