Class Client

java.lang.Object
  extended by Client

public class Client
extends Object

Client that constructs and runs a schedule of data collection jobs based on a configuration file.

Author:
fhogenboom

Field Summary
private static org.slf4j.Logger _log
           
private  TreeMap<Object,Object> comp
           
private  String cron_ptrn
           
private  String date_stop
           
private  String date_strt
           
private  String form_date
           
private  String time_zone
           
 
Constructor Summary
Client()
          Constructor.
 
Method Summary
private  boolean configScheduler()
          Configures scheduler by parsing a configuration file.
static void main(String[] args)
          Main method that constructs and runs a Client.
 void run()
          Runs scheduler.
private static void showLogo()
          Displays an ASCII-art styled logo.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cron_ptrn

private String cron_ptrn

date_stop

private String date_stop

date_strt

private String date_strt

form_date

private String form_date

time_zone

private String time_zone

comp

private TreeMap<Object,Object> comp

_log

private static org.slf4j.Logger _log
Constructor Detail

Client

public Client()
Constructor.

Method Detail

main

public static void main(String[] args)
Main method that constructs and runs a Client.

Parameters:
args - Run-time arguments.

showLogo

private static void showLogo()
Displays an ASCII-art styled logo.


configScheduler

private boolean configScheduler()
Configures scheduler by parsing a configuration file.

Returns:
Boolean value indicating whether parsed configuration is valid.

run

public void run()
Runs scheduler.