class NodeHealthScriptRunner extends AbstractService {

  public static boolean shouldRun(String healthScript) {
    if (healthScript == null || healthScript.trim().isEmpty()) {
      return false;
    }
    File f = new File(healthScript);
    return f.exists() && FileUtil.canExecute(f);
  }

  public  NodeHealthScriptRunner(String scriptName, long chkInterval, long timeout,
      String[] scriptArgs);

}