|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.systems.filters.impl.SystemFilterNamingPolicyImpl
A naming policy so tool writers can override defaults used when saving filter data to disk.
Subclass this and override what you wish to change.
Field Summary | |
---|---|
static String |
copyright
|
static String |
DEFAULT_FILENAME_PREFIX_FILTER
Default prefix for filter persisted file: "filter_" |
static String |
DEFAULT_FILENAME_PREFIX_FILTERPOOL
Default prefix for filter pool persisted file: "filterPool_" |
static String |
DEFAULT_FILENAME_PREFIX_FILTERPOOLMANAGER
Default prefix for filter pool manager persisted file: "filterPools_" |
static String |
DEFAULT_FILENAME_PREFIX_FILTERPOOLREFERENCEMANAGER
Default prefix for filter pool reference manager persisted file: "filterPoolRefs_" |
static String |
DEFAULT_FOLDERNAME_PREFIX_FILTERPOOL
Default prefix for filter pool folder: "FilterPool_" |
protected String |
filterFileNamePrefix
|
protected String |
managerFileNamePrefix
|
protected String |
poolFileNamePrefix
|
protected String |
poolFolderNamePrefix
|
protected String |
poolFolderNameSuffix
|
protected String |
referenceManagerFileNamePrefix
|
Fields inherited from interface com.ibm.etools.systems.filters.SystemFilterConstants |
---|
DEFAULT_TYPE, SAVEFILE_SUFFIX, TRY_TO_RESTORE_NO, TRY_TO_RESTORE_YES |
Fields inherited from interface com.ibm.etools.systems.filters.SystemFilterSavePolicies |
---|
SAVE_POLICY_NONE, SAVE_POLICY_ONE_FILE_PER_FILTER, SAVE_POLICY_ONE_FILE_PER_MANAGER, SAVE_POLICY_ONE_FILE_PER_POOL_SAME_FOLDER, SAVE_POLICY_ONE_FILEANDFOLDER_PER_POOL |
Constructor Summary | |
---|---|
SystemFilterNamingPolicyImpl()
Constructor for SystemFilterNamingPolicyImpl |
Method Summary | |
---|---|
String |
getFilterPoolFolderName(String poolName)
Get the folder name for the given SystemFilterPool object. |
String |
getFilterPoolFolderNamePrefix()
Get the folder name prefix for all pool folders. |
String |
getFilterPoolSaveFileName(String poolName)
Get the unqualified save file name for the given SystemFilterPool object. |
String |
getFilterPoolSaveFileNamePrefix()
Get the file name prefix for all pool files. |
String |
getFilterSaveFileName(String filterName)
Get the unqualified save file name for the given SystemFilter object. |
String |
getFilterSaveFileNamePrefix()
Get the file name prefix for all filter files. |
String |
getManagerSaveFileName(String managerName)
Get the unqualified save file name for the given SystemFilterPoolManager object. |
static SystemFilterNamingPolicy |
getNamingPolicy()
Factory method to return an instance populated with defaults. |
String |
getReferenceManagerSaveFileName(String managerName)
Get the unqualified save file name for the given SystemFilterPoolReferenceManager object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String copyright
protected String managerFileNamePrefix
protected String poolFolderNamePrefix
protected String poolFolderNameSuffix
protected String poolFileNamePrefix
protected String filterFileNamePrefix
protected String referenceManagerFileNamePrefix
public static final String DEFAULT_FILENAME_PREFIX_FILTERPOOLMANAGER
public static final String DEFAULT_FILENAME_PREFIX_FILTERPOOLREFERENCEMANAGER
public static final String DEFAULT_FILENAME_PREFIX_FILTERPOOL
public static final String DEFAULT_FILENAME_PREFIX_FILTER
public static final String DEFAULT_FOLDERNAME_PREFIX_FILTERPOOL
Constructor Detail |
public SystemFilterNamingPolicyImpl()
Method Detail |
public static SystemFilterNamingPolicy getNamingPolicy()
public String getManagerSaveFileName(String managerName)
Returns "filterPools_"+managerName by default.
getManagerSaveFileName
in interface SystemFilterNamingPolicy
public String getReferenceManagerSaveFileName(String managerName)
Returns "filterPoolRefs_"+managerName by default.
getReferenceManagerSaveFileName
in interface SystemFilterNamingPolicy
public String getFilterPoolSaveFileName(String poolName)
Returns getFilterPoolSaveFileNamePrefix()+poolName by default.
getFilterPoolSaveFileName
in interface SystemFilterNamingPolicy
public String getFilterPoolSaveFileNamePrefix()
By default returns "filterPool_"
getFilterPoolSaveFileNamePrefix
in interface SystemFilterNamingPolicy
public String getFilterPoolFolderName(String poolName)
Returns getFilterPoolFolderNamePrefix()+poolName by default.
getFilterPoolFolderName
in interface SystemFilterNamingPolicy
public String getFilterPoolFolderNamePrefix()
By default returns "FilterPool_"
getFilterPoolFolderNamePrefix
in interface SystemFilterNamingPolicy
public String getFilterSaveFileName(String filterName)
Returns getFilterSaveFileNamePrefix()+filterName by default.
getFilterSaveFileName
in interface SystemFilterNamingPolicy
public String getFilterSaveFileNamePrefix()
Returns "Filter_" by default.
getFilterSaveFileNamePrefix
in interface SystemFilterNamingPolicy
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |