org.apache.oodt.cas.pushpull.config
Class ProtocolInfo

java.lang.Object
  extended by org.apache.oodt.cas.pushpull.config.ProtocolInfo
All Implemented Interfaces:
ConfigParserMetKeys

public class ProtocolInfo
extends Object
implements ConfigParserMetKeys

Version:
$Revision$

Describe your class here

.
Author:
bfoster

Field Summary
 
Fields inherited from interface org.apache.oodt.cas.pushpull.config.ConfigParserMetKeys
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, DIR_ATTR, DOWNLOAD_INFO_TAG, EPSILON_ATTR, FILE_ATTR, FIRSTRUN_DATETIME_ATTR, HOST_ATTR, LOGIN_ATTR, 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 Summary
ProtocolInfo()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProtocolInfo

public ProtocolInfo()
Method Detail

loadProtocolFactoryInfoFromFile

public void loadProtocolFactoryInfoFromFile(File protocolFactoryInfo)
                                     throws ConfigException
Throws:
ConfigException

addClassForType

public void addClassForType(String type,
                            Class<ProtocolFactory> protocolFactoryClass)

addClassForType

public void addClassForType(String type,
                            String protocolFactoryClass)
                     throws ClassNotFoundException
Throws:
ClassNotFoundException

addClassForType

public void addClassForType(String type,
                            Class<ProtocolFactory>[] protocolFactoryClasses)

addClassForType

public void addClassForType(String type,
                            String[] protocolFactoryClasses)
                     throws ClassNotFoundException
Throws:
ClassNotFoundException

setDownloadTimeout

public void setDownloadTimeout(long timeout)

setPageSize

public void setPageSize(int pgSize)

getProtocolClassesForProtocolType

public LinkedList<Class<ProtocolFactory>> getProtocolClassesForProtocolType(String type)

getDownloadTimeout

public long getDownloadTimeout()

getPageSize

public int getPageSize()

clone

public ProtocolInfo clone()
Overrides:
clone in class Object


Copyright © 1999-2011 Apache Incubator. All Rights Reserved.