# AbstractProcessor
Date: 2016-08-11

com.x.processplatform.core.processing.processor

## 类 AbstractProcessor

- java.lang.Object
- - com.x.processplatform.core.processing.processor.AbstractBaseProcessor
  - - com.x.processplatform.core.processing.processor.AbstractExpireProcessor
    - - com.x.processplatform.core.processing.processor.AbstractReviewProcessor
      - - com.x.processplatform.core.processing.processor.AbstractReadProcessor
        - - com.x.processplatform.core.processing.processor.AbstractTaskProcessor
          - - com.x.processplatform.core.processing.processor.AbstractProcessor

直接已知子类:
  AgentProcessor, BeginProcessor, CancelProcessor, ChoiceProcessor, ConditionProcessor, DelayProcessor, EmbedProcessor, EndProcessor, InvokeProcessor, ManualProcessor, MergeProcessor, MessageProcessor, ParallelProcessor, ServiceProcessor, SplitProcessor

    public abstract class AbstractProcessor
    extends AbstractTaskProcessor

### 嵌套类概要

### 从类继承的嵌套类/接口 com.x.processplatform.core.processing.processor.AbstractTaskProcessor

`AbstractTaskProcessor.ExpireScriptResult`

### 字段概要

### 从类继承的字段 com.x.processplatform.core.processing.processor.AbstractBaseProcessor

`AAES, AAEST, AAS, AAST, AES, AEST, AIS, AIST, BAES, BAEST, BAS, BAST, BES, BEST, Binding_name_route, Binding_name_routes, BIS, BIST, MAX_ERROR_RETRY`

### 构造器概要

构造器
`protected` `AbstractProcessor(com.x.common.core.container.EntityManagerContainer entityManagerContainer)`

### 方法概要

All Methods Instance Methods Abstract Methods Concrete Methods
`java.lang.String` `arrive(java.lang.String workId, ProcessingConfigurator processingConfigurator, java.util.Map<java.lang.String,java.lang.Object> attributes)`
`protected abstract com.x.processplatform.core.entity.content.Work` `arriveProcessing(ProcessingConfigurator configurator, java.util.Map<java.lang.String,java.lang.Object> attributes, com.x.processplatform.core.entity.content.Work work, java.util.Map<?,?> data, com.x.processplatform.core.entity.element.Activity activity)`
`protected java.util.List<java.lang.String>` `checkIdentity(java.util.List<java.lang.String> identities)`
`java.util.List<java.lang.String>` `execute(java.lang.String workId, ProcessingConfigurator processingConfigurator, java.util.Map<java.lang.String,java.lang.Object> attributes)`
`protected abstract java.util.List<com.x.processplatform.core.entity.content.Work>` `executeProcessing(ProcessingConfigurator configurator, java.util.Map<java.lang.String,java.lang.Object> attributes, com.x.processplatform.core.entity.content.Work work, java.util.Map<?,?> data, com.x.processplatform.core.entity.element.Activity activity)`
`java.util.List<java.lang.String>` `inquire(java.lang.String workId, ProcessingConfigurator processingConfigurator, java.util.Map<java.lang.String,java.lang.Object> attributes)`

`protected abstract java.util.List<com.x.processplatform.core.entity.element.Route>`

`inquireProcessing(ProcessingConfigurator configurator, java.util.Map<java.lang.String,java.lang.Object> attributes, com.x.processplatform.core.entity.content.Work work, java.util.Map<?,?> data, com.x.processplatform.core.entity.element.Activity activity, java.util.List<com.x.processplatform.core.entity.element.Route> routes)`

`protected java.util.List<java.lang.String>` `translateReadIdentity(java.util.Map<java.lang.String,java.lang.Object> attributes, com.x.processplatform.core.entity.content.Work work, java.util.Map<?,?> data, com.x.processplatform.core.entity.element.Activity activity)`
`protected java.util.List<java.lang.String>` `translateReviewIdentity(java.util.Map<java.lang.String,java.lang.Object> attributes, com.x.processplatform.core.entity.content.Work work, java.util.Map<?,?> data, com.x.processplatform.core.entity.element.Activity activity)`

### 从类继承的方法 com.x.processplatform.core.processing.processor.AbstractTaskProcessor

`createTask, sendTaskMessage`

### 从类继承的方法 com.x.processplatform.core.processing.processor.AbstractReadProcessor

`createRead`

### 从类继承的方法 com.x.processplatform.core.processing.processor.AbstractReviewProcessor

`createReview`

### 从类继承的方法 com.x.processplatform.core.processing.processor.AbstractExpireProcessor

`calculateExpire`

### 从类继承的方法 com.x.processplatform.core.processing.processor.AbstractBaseProcessor

`arriveActivity, business, connectWorkLog, copyWork, createReview, createWorkLog, entityManagerContainer, hasAfterArrivedExecuteScript, hasAfterArriveScript, hasAfterExecuteScript, hasAfterInquireScript, hasArriveScript, hasBeforeArrivedExecuteScript, hasBeforeArriveScript, hasBeforeExecuteScript, hasBeforeInquireScript, hasExecuteScript, hasInquireScript, logProcessingError, stampArrivedWorkLog`

### 从类继承的方法 java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

### 构造器详细资料

#### AbstractProcessor

    protected AbstractProcessor(com.x.common.core.container.EntityManagerContainer entityManagerContainer)
                         throws java.lang.Exception

抛出:
  `java.lang.Exception`

### 方法详细资料

#### arrive

    public java.lang.String arrive(java.lang.String workId,
                                   ProcessingConfigurator processingConfigurator,
                                   java.util.Map<java.lang.String,java.lang.Object> attributes)

#### execute

    public java.util.List<java.lang.String> execute(java.lang.String workId,
                                                    ProcessingConfigurator processingConfigurator,
                                                    java.util.Map<java.lang.String,java.lang.Object> attributes)

#### inquire

    public java.util.List<java.lang.String> inquire(java.lang.String workId,
                                                    ProcessingConfigurator processingConfigurator,
                                                    java.util.Map<java.lang.String,java.lang.Object> attributes)

#### arriveProcessing

    protected abstract com.x.processplatform.core.entity.content.Work arriveProcessing(ProcessingConfigurator configurator,
                                                                                       java.util.Map<java.lang.String,java.lang.Object> attributes,
                                                                                       com.x.processplatform.core.entity.content.Work work,
                                                                                       java.util.Map<?,?> data,
                                                                                       com.x.processplatform.core.entity.element.Activity activity)
                                                                                throws java.lang.Exception

抛出:
  `java.lang.Exception`

#### executeProcessing

    protected abstract java.util.List<com.x.processplatform.core.entity.content.Work> executeProcessing(ProcessingConfigurator configurator,
                                                                                                        java.util.Map<java.lang.String,java.lang.Object> attributes,
                                                                                                        com.x.processplatform.core.entity.content.Work work,
                                                                                                        java.util.Map<?,?> data,
                                                                                                        com.x.processplatform.core.entity.element.Activity activity)
                                                                                                 throws java.lang.Exception

抛出:
  `java.lang.Exception`

#### inquireProcessing

    protected abstract java.util.List<com.x.processplatform.core.entity.element.Route> inquireProcessing(ProcessingConfigurator configurator,
                                                                                                         java.util.Map<java.lang.String,java.lang.Object> attributes,
                                                                                                         com.x.processplatform.core.entity.content.Work work,
                                                                                                         java.util.Map<?,?> data,
                                                                                                         com.x.processplatform.core.entity.element.Activity activity,
                                                                                                         java.util.List<com.x.processplatform.core.entity.element.Route> routes)
                                                                                                  throws java.lang.Exception

抛出:
  `java.lang.Exception`

#### translateReviewIdentity

    protected java.util.List<java.lang.String> translateReviewIdentity(java.util.Map<java.lang.String,java.lang.Object> attributes,
                                                                       com.x.processplatform.core.entity.content.Work work,
                                                                       java.util.Map<?,?> data,
                                                                       com.x.processplatform.core.entity.element.Activity activity)
                                                                throws java.lang.Exception

抛出:
  `java.lang.Exception`

#### translateReadIdentity

    protected java.util.List<java.lang.String> translateReadIdentity(java.util.Map<java.lang.String,java.lang.Object> attributes,
                                                                     com.x.processplatform.core.entity.content.Work work,
                                                                     java.util.Map<?,?> data,
                                                                     com.x.processplatform.core.entity.element.Activity activity)
                                                              throws java.lang.Exception

抛出:
  `java.lang.Exception`

#### checkIdentity

    protected java.util.List<java.lang.String> checkIdentity(java.util.List<java.lang.String> identities)
                                                      throws java.lang.Exception

抛出:
  `java.lang.Exception`