1 16 17 package org.apache.jetspeed.daemon; 18 19 23 public class DaemonEntry { 24 25 private String name; 26 private long interval = 0; 27 private String classname; 28 private boolean onstartup = false; 29 private boolean hasprocessed = false; 30 private int status = Daemon.STATUS_NOT_PROCESSED; 31 32 public DaemonEntry( String name, 33 long interval, 34 String classname, 35 boolean onstartup ) { 36 this.name = name; 37 this.interval = interval; 38 this.classname = classname; 39 this.onstartup = onstartup; 40 41 } 42 43 47 public String getName() { return this.name; } 48 49 53 public long getInterval() { return this.interval; } 54 55 58 public String getClassname() { return this.classname; } 59 60 63 public boolean onStartup() { return this.onstartup; } 64 65 71 public boolean hasProcessed() { return this.hasprocessed; } 72 73 public int getStatus() { 74 return this.status; 75 } 76 77 } 78 | Popular Tags |