public class SpyDotProperties extends Object implements P6OptionsSource
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_OPTIONS_FILE |
static String |
OPTIONS_FILE_PROPERTY |
Constructor and Description |
---|
SpyDotProperties()
Creates a new instance and loads the properties file if found.
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getOptions() |
boolean |
isModified()
Determines if the file has been modified since it was loaded
|
void |
postInit(P6ModuleManager p6moduleManager)
Intended for the postInit jobs.
|
void |
preDestroy(P6ModuleManager p6moduleManager)
Intended for cleanup jobs.
|
public static final String OPTIONS_FILE_PROPERTY
public static final String DEFAULT_OPTIONS_FILE
public SpyDotProperties() throws IOException
IOException
public boolean isModified()
public Map<String,String> getOptions()
getOptions
in interface P6OptionsSource
public void preDestroy(P6ModuleManager p6moduleManager)
P6OptionsSource
P6ModuleManager.cleanUp()
.preDestroy
in interface P6OptionsSource
p6moduleManager
- module manager instance that is about to be destroyed.public void postInit(P6ModuleManager p6moduleManager)
P6OptionsSource
P6ModuleManager.P6ModuleManager()
. After
initialization is done.postInit
in interface P6OptionsSource
p6moduleManager
- module manager instance that has been initialized.Copyright © 2002-2016 P6Spy. All Rights Reserved.