org.apache.uima.resourceSpecifier.factory.impl
Class DelegateConfigurationImpl

java.lang.Object
  extended by org.apache.uima.resourceSpecifier.factory.impl.DelegateConfigurationImpl
All Implemented Interfaces:
DelegateConfiguration
Direct Known Subclasses:
ColocatedDelegateConfigurationImpl, RemoteDelegateConfigurationImpl

public abstract class DelegateConfigurationImpl
extends Object
implements DelegateConfiguration

The Class DelegateConfigurationImpl.


Constructor Summary
protected DelegateConfigurationImpl(String key, ErrorHandlingSettings... errorHandlingSettings)
          Instantiates a new delegate configuration impl.
 
Method Summary
 int getCasPoolSize()
          Gets the cas pool size.
 CollectionProcessCompleteErrorHandlingSettings getCollectionProcessCompleteErrorHandlingSettings()
          Gets the collection process complete error handling settings.
 GetMetaErrorHandlingSettings getGetMetaErrorHandlingSettings()
          Gets the gets the meta error handling settings.
 int getInitialHeapSize()
          Gets the initial heap size.
 String getKey()
          Gets the key.
 ProcessErrorHandlingSettings getProcessErrorHandlingSettings()
          Gets the process error handling settings.
 boolean isCasMultiplier()
          Checks if is cas multiplier.
 boolean isRemote()
          Checks if is remote.
 boolean processParentLast()
          Process parent last.
 void setCasMultiplier(boolean cm)
          Sets the cas multiplier.
 void setCasPoolSize(int casPoolSize)
          Sets the cas pool size.
 void setCollectionProcessCompleteErrorHandlingSettings(CollectionProcessCompleteErrorHandlingSettings settings)
          Sets the collection process complete error handling settings.
 void setGetMetaErrorHandlingSettings(GetMetaErrorHandlingSettings es)
          Sets the gets the meta error handling settings.
 void setInitialHeapSize(int size)
          Sets the initial heap size.
 void setKey(String key)
          Sets the key.
 void setProcessErrorHandlingSettings(ProcessErrorHandlingSettings settings)
          Sets the process error handling settings.
 void setProcessParentLast(boolean processParentLast)
          Sets the process parent last.
 void setRemote(boolean remote)
          Sets the remote.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegateConfigurationImpl

protected DelegateConfigurationImpl(String key,
                                    ErrorHandlingSettings... errorHandlingSettings)
Instantiates a new delegate configuration impl.

Parameters:
key - the key
errorHandlingSettings - the error handling settings
Method Detail

setKey

public void setKey(String key)
Description copied from interface: DelegateConfiguration
Sets the key.

Specified by:
setKey in interface DelegateConfiguration
Parameters:
key - the new key

getKey

public String getKey()
Description copied from interface: DelegateConfiguration
Gets the key.

Specified by:
getKey in interface DelegateConfiguration
Returns:
the key

setGetMetaErrorHandlingSettings

public void setGetMetaErrorHandlingSettings(GetMetaErrorHandlingSettings es)
Description copied from interface: DelegateConfiguration
Sets the gets the meta error handling settings.

Specified by:
setGetMetaErrorHandlingSettings in interface DelegateConfiguration
Parameters:
es - the new gets the meta error handling settings

getGetMetaErrorHandlingSettings

public GetMetaErrorHandlingSettings getGetMetaErrorHandlingSettings()
Description copied from interface: DelegateConfiguration
Gets the gets the meta error handling settings.

Specified by:
getGetMetaErrorHandlingSettings in interface DelegateConfiguration
Returns:
the gets the meta error handling settings

setProcessErrorHandlingSettings

public void setProcessErrorHandlingSettings(ProcessErrorHandlingSettings settings)
Description copied from interface: DelegateConfiguration
Sets the process error handling settings.

Specified by:
setProcessErrorHandlingSettings in interface DelegateConfiguration
Parameters:
settings - the new process error handling settings

getProcessErrorHandlingSettings

public ProcessErrorHandlingSettings getProcessErrorHandlingSettings()
Description copied from interface: DelegateConfiguration
Gets the process error handling settings.

Specified by:
getProcessErrorHandlingSettings in interface DelegateConfiguration
Returns:
the process error handling settings

setCollectionProcessCompleteErrorHandlingSettings

public void setCollectionProcessCompleteErrorHandlingSettings(CollectionProcessCompleteErrorHandlingSettings settings)
Description copied from interface: DelegateConfiguration
Sets the collection process complete error handling settings.

Specified by:
setCollectionProcessCompleteErrorHandlingSettings in interface DelegateConfiguration
Parameters:
settings - the new collection process complete error handling settings

getCollectionProcessCompleteErrorHandlingSettings

public CollectionProcessCompleteErrorHandlingSettings getCollectionProcessCompleteErrorHandlingSettings()
Description copied from interface: DelegateConfiguration
Gets the collection process complete error handling settings.

Specified by:
getCollectionProcessCompleteErrorHandlingSettings in interface DelegateConfiguration
Returns:
the collection process complete error handling settings

isCasMultiplier

public boolean isCasMultiplier()
Description copied from interface: DelegateConfiguration
Checks if is cas multiplier.

Specified by:
isCasMultiplier in interface DelegateConfiguration
Returns:
true, if is cas multiplier

setCasMultiplier

public void setCasMultiplier(boolean cm)
Description copied from interface: DelegateConfiguration
Sets the cas multiplier.

Specified by:
setCasMultiplier in interface DelegateConfiguration
Parameters:
cm - the new cas multiplier

setRemote

public void setRemote(boolean remote)
Description copied from interface: DelegateConfiguration
Sets the remote.

Specified by:
setRemote in interface DelegateConfiguration
Parameters:
remote - the new remote

isRemote

public boolean isRemote()
Description copied from interface: DelegateConfiguration
Checks if is remote.

Specified by:
isRemote in interface DelegateConfiguration
Returns:
true, if is remote

setCasPoolSize

public void setCasPoolSize(int casPoolSize)
Description copied from interface: DelegateConfiguration
Sets the cas pool size.

Specified by:
setCasPoolSize in interface DelegateConfiguration
Parameters:
casPoolSize - the new cas pool size

getCasPoolSize

public int getCasPoolSize()
Description copied from interface: DelegateConfiguration
Gets the cas pool size.

Specified by:
getCasPoolSize in interface DelegateConfiguration
Returns:
the cas pool size

setInitialHeapSize

public void setInitialHeapSize(int size)
Description copied from interface: DelegateConfiguration
Sets the initial heap size.

Specified by:
setInitialHeapSize in interface DelegateConfiguration
Parameters:
size - the new initial heap size

getInitialHeapSize

public int getInitialHeapSize()
Description copied from interface: DelegateConfiguration
Gets the initial heap size.

Specified by:
getInitialHeapSize in interface DelegateConfiguration
Returns:
the initial heap size

processParentLast

public boolean processParentLast()
Description copied from interface: DelegateConfiguration
Process parent last.

Specified by:
processParentLast in interface DelegateConfiguration
Returns:
true, if successful

setProcessParentLast

public void setProcessParentLast(boolean processParentLast)
Description copied from interface: DelegateConfiguration
Sets the process parent last.

Specified by:
setProcessParentLast in interface DelegateConfiguration
Parameters:
processParentLast - the new process parent last


Copyright © 2006-2012 The Apache Software Foundation. All Rights Reserved.