@Test(expected = IllegalArgumentException.class) public void assertBuildWithInvalidShardingTotalCount() { JobConfiguration.newBuilder("test_job", -1).cron("0/1 * * * * ?").build(); }
public static Builder newBuilder(final String jobName, final int shardingTotalCount) { return new Builder(jobName, shardingTotalCount); }
JobConfiguration { public static Builder newBuilder(final String jobName, final int shardingTotalCount) { return new Builder(jobName, shardingTotalCount); } }
JobConfiguration { public static Builder newBuilder(final String jobName, final int shardingTotalCount) { return new Builder(jobName, shardingTotalCount); }  }
JobConfiguration { public static Builder newBuilder(final String jobName, final int shardingTotalCount) { return new Builder(jobName, shardingTotalCount); }  static Builder newBuilder(final String jobName, final int shardingTotalCount); }
JobConfiguration { public static Builder newBuilder(final String jobName, final int shardingTotalCount) { return new Builder(jobName, shardingTotalCount); }  static Builder newBuilder(final String jobName, final int shardingTotalCount);  }