public class ProtocolInfo extends Object implements ConfigParserMetKeys
Describe your class here
.ACTIVE_ATTR, AFTER_USE_TAG, ALIAS_ATTR, ALIAS_SPEC_TAG, ALLOW_ALIAS_OVERRIDE_ATTR, CD_TEST_DIR_TAG, CLASS_ATTR, DAEMON_TAG, DATA_INFO_TAG, DELETE_FROM_SERVER_ATTR, DELETE_ON_SUCCESS_ATTR, DIR_ATTR, DOWNLOAD_INFO_TAG, EPSILON_ATTR, FILE_ATTR, FIRSTRUN_DATETIME_ATTR, HOST_ATTR, LOGIN_ATTR, MAX_CONN_TAG, MOVEON_TO_FAIL_ATTR, MOVEON_TO_SUCCESS_ATTR, PARSER_ATTR, PARSER_TAG, PASSWORD_TAG, PATH_ATTR, PERIOD_ATTR, PROP_FILE_TAG, PROP_FILES_TAG, PROP_INFO_TAG, PROTOCOL_FACTORY_TAG, PROTOCOL_TAG, QUERY_ELEM_ATTR, REG_EXP_ATTR, RENAMING_CONV_ATTR, RETRIEVAL_METHOD_TAG, RUN_INFO_TAG, RUNONREBOOT_ATTR, SOURCE_TAG, STAGING_AREA_ATTR, TYPE_ATTR, USERNAME_TAG
Constructor and Description |
---|
ProtocolInfo() |
Modifier and Type | Method and Description |
---|---|
void |
addClassForType(String type,
Class<ProtocolFactory> protocolFactoryClass) |
void |
addClassForType(String type,
Class<ProtocolFactory>[] protocolFactoryClasses) |
void |
addClassForType(String type,
String protocolFactoryClass) |
void |
addClassForType(String type,
String[] protocolFactoryClasses) |
ProtocolInfo |
clone() |
long |
getDownloadTimeout() |
int |
getPageSize() |
LinkedList<Class<ProtocolFactory>> |
getProtocolClassesForProtocolType(String type) |
void |
loadProtocolFactoryInfoFromFile(File protocolFactoryInfo) |
void |
setDownloadTimeout(long timeout) |
void |
setPageSize(int pgSize) |
public void loadProtocolFactoryInfoFromFile(File protocolFactoryInfo) throws ConfigException
ConfigException
public void addClassForType(String type, Class<ProtocolFactory> protocolFactoryClass)
public void addClassForType(String type, String protocolFactoryClass) throws ClassNotFoundException
ClassNotFoundException
public void addClassForType(String type, Class<ProtocolFactory>[] protocolFactoryClasses)
public void addClassForType(String type, String[] protocolFactoryClasses) throws ClassNotFoundException
ClassNotFoundException
public void setDownloadTimeout(long timeout)
public void setPageSize(int pgSize)
public LinkedList<Class<ProtocolFactory>> getProtocolClassesForProtocolType(String type)
public long getDownloadTimeout()
public int getPageSize()
public ProtocolInfo clone()
Copyright © 1999-2014 Apache OODT. All Rights Reserved.