net.shrine.monitor.scanner
Class RuntimeArgs

java.lang.Object
  extended by net.shrine.monitor.scanner.RuntimeArgs

public class RuntimeArgs
extends Object

Author:
Andrew McMurry, MS

With primary support from Children's Hospital Informatics Program @ Harvard-MIT Health Sciences and Technology and

Secondary support from the Harvard Medical School Center for BioMedical Informatics

PHD candidate, Boston University Bioinformatics Member, I2b2 National Center for Biomedical Computing

All works licensed under LGPL

User: andy Date: Oct 19, 2010 Time: 2:33:03 PM


Nested Class Summary
static class RuntimeArgs.Source
           
 
Field Summary
 boolean anonymize
          This feature was added to keep the scanner from accruing large number of patient counts.
 String crc
           
 String domain
           
 String file
           
static org.apache.log4j.Logger log
           
 String password
           
 String project
           
 int queryTopicID
           
 boolean random
           
 boolean repeat
           
 int sleep
           
 RuntimeArgs.Source source
           
 int threads
           
 boolean translate
           
 String username
           
 
Constructor Summary
RuntimeArgs(File file)
           
RuntimeArgs(Properties properties)
           
RuntimeArgs(String file)
           
 
Method Summary
 String getProperty(String key)
           
 edu.harvard.i2b2.crc.datavo.i2b2message.SecurityType getSecurityType()
           
 RuntimeArgs.Source getSource(String source)
           
 boolean notNullKey(String key)
           
 boolean parseBool(String key)
           
 QueryDefIterator queryDefIterator()
           
static QueryDefIterator queryDefIterator(RuntimeArgs.Source source, boolean translate, String argument)
           
static String[] supported()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

public static final org.apache.log4j.Logger log

source

public RuntimeArgs.Source source

file

public String file

crc

public String crc

domain

public String domain

project

public String project

username

public String username

password

public String password

queryTopicID

public int queryTopicID

threads

public int threads

sleep

public int sleep

translate

public boolean translate

random

public boolean random

repeat

public boolean repeat

anonymize

public boolean anonymize
This feature was added to keep the scanner from accruing large number of patient counts.

Constructor Detail

RuntimeArgs

public RuntimeArgs(String file)
            throws IOException
Throws:
IOException

RuntimeArgs

public RuntimeArgs(File file)
            throws IOException
Throws:
IOException

RuntimeArgs

public RuntimeArgs(Properties properties)
Method Detail

notNullKey

public boolean notNullKey(String key)

getProperty

public String getProperty(String key)

parseBool

public boolean parseBool(String key)

queryDefIterator

public QueryDefIterator queryDefIterator()
                                  throws org.spin.tools.config.ConfigException,
                                         IOException
Throws:
org.spin.tools.config.ConfigException
IOException

queryDefIterator

public static QueryDefIterator queryDefIterator(RuntimeArgs.Source source,
                                                boolean translate,
                                                String argument)
                                         throws org.spin.tools.config.ConfigException,
                                                IOException
Throws:
org.spin.tools.config.ConfigException
IOException

getSource

public RuntimeArgs.Source getSource(String source)

getSecurityType

public edu.harvard.i2b2.crc.datavo.i2b2message.SecurityType getSecurityType()

supported

public static String[] supported()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.