Class CasProcessorConfigurationJAXBImpl

java.lang.Object
org.apache.uima.collection.impl.cpm.container.CasProcessorConfigurationJAXBImpl
All Implemented Interfaces:
CasProcessorConfiguration

public class CasProcessorConfigurationJAXBImpl extends Object implements CasProcessorConfiguration
A wrapper containing Cas Processor configuration. An instance of this class is associated with each Cas Processor.
  • Field Details

    • actionOnMaxError

      private String actionOnMaxError
    • actionOnMaxRestarts

      private String actionOnMaxRestarts
    • name

      private String name
    • descriptor

      private CpeComponentDescriptor descriptor
    • deploymentType

      private String deploymentType
    • filterString

      private String filterString
    • errorSampleSize

      private long errorSampleSize
    • timeOut

      private long timeOut
    • errorRate

      private int errorRate
    • maxErrorThreshold

      private int maxErrorThreshold
    • maxRestartThreshold

      private int maxRestartThreshold
    • maxRetryThreshold

      private int maxRetryThreshold
    • batchSize

      private int batchSize
    • runInSeparateProcess

      private boolean runInSeparateProcess
    • isJavaProcess

      private boolean isJavaProcess
    • nonJavaApp

      private NonJavaApplication nonJavaApp
    • javaApp

      private JavaApplication javaApp
    • deploymentParameters

      private List deploymentParameters
    • waitTimeBetweenRestarts

      private int waitTimeBetweenRestarts
    • parallelizable

      private boolean parallelizable
    • readOnly

      private boolean readOnly
    • resourceManager

      private ResourceManager resourceManager
  • Constructor Details

    • CasProcessorConfigurationJAXBImpl

      public CasProcessorConfigurationJAXBImpl(CpeCasProcessor aCasProcessorConfig, ResourceManager aResourceManager) throws ResourceConfigurationException
      Initializes instance and copies configuation from cpe descriptor.
      Parameters:
      aCasProcessorConfig - - configuration object containing Cas Processor configuration
      aResourceManager - - needed to resolve import by name
      Throws:
      ResourceConfigurationException - if descriptor error
  • Method Details