Permalink
Browse files

Clean builds are useful for avoiding these mistakes.

  • Loading branch information...
1 parent 35fa513 commit e003c2678439c33c274c0b42e96bb409ac3e578f @tobias tobias committed Oct 11, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 jobs/src/main/java/org/projectodd/polyglot/jobs/BaseScheduledJob.java
@@ -192,6 +192,10 @@ public void setTimeout(long timeout) {
this.timeout = new TimeInterval( timeout, TimeUnit.SECONDS );
}
+ public long getTimeout() {
+ return this.timeout.valueAs( TimeUnit.SECONDS );
+ }
+
private InjectedValue<BaseJobScheduler> jobSchedulerInjector = new InjectedValue<BaseJobScheduler>();
private Class<? extends Job> jobClass;

0 comments on commit e003c26

Please sign in to comment.