|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.anji.util.Reset
public class Reset
Utility class to clear all persisted data, including chromosomes and runs in DB, innovation ID data, and log.
Constructor Summary | |
---|---|
Reset(Properties someProps)
See Parameter Details for specific property settings. |
|
Reset(java.lang.String propFilePath)
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Interface to execute via command line. |
void |
reset()
Clear all persisted data. |
void |
setUserInteraction(boolean aUserInteraction)
default is false; set to true if you want it to delete everything without prompting user |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Reset(java.lang.String propFilePath) throws java.io.IOException
propFilePath
-
java.io.IOException
Reset(Properties)
public Reset(Properties someProps)
someProps
- Method Detail |
---|
public static void main(java.lang.String[] args) throws java.io.IOException
args
- args[0] is properties file path
java.io.IOException
public void reset() throws java.io.IOException
java.io.IOException
public void setUserInteraction(boolean aUserInteraction)
aUserInteraction
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |