org.jbpm.process.workitem.core.util

## Class WidProcessor

- java.lang.Object
- - javax.annotation.processing.AbstractProcessor
  - - org.jbpm.process.workitem.core.util.WidProcessor

- All Implemented Interfaces:
    Processor

      @SupportedAnnotationTypes(value="org.jbpm.process.workitem.core.util.Wid")
      public class WidProcessor
      extends AbstractProcessor

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `INDEX_ST_TEMPLATE`
    `static String` | `JSON_ST_TEMPLATE`
    `static String` | `WID_ST_TEMPLATE`

    - ### Fields inherited from class javax.annotation.processing.AbstractProcessor

      `processingEnv`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `WidProcessor()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `FileObject` | `getFileObject(String pkg, String name)`
    `Map<String,List<Wid>>` | `getProcessingResults()`
    `byte[]` | `getTemplateData(String templateStr, Map<String,WidInfo> widInfoMap)`
    `boolean` | `postProcessWorkItemDefinition()`
    `boolean` | `process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)`
    `void` | `setProcessingResults(Map<String,List<Wid>> processingResults)`
    `void` | `setResetResults(boolean resetResults)`
    `void` | `writeStream(FileObject fileObject, byte[] data)`

    - ### Methods inherited from class javax.annotation.processing.AbstractProcessor

      `getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, init, isInitialized`

    - ### Methods inherited from class java.lang.Object

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

- - ### Field Detail

    - #### WID_ST_TEMPLATE

          public static final String WID_ST_TEMPLATE

      See Also:
        Constant Field Values

    - #### INDEX_ST_TEMPLATE

          public static final String INDEX_ST_TEMPLATE

      See Also:
        Constant Field Values

    - #### JSON_ST_TEMPLATE

          public static final String JSON_ST_TEMPLATE

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### WidProcessor

          public WidProcessor()

  - ### Method Detail

    - #### process

          public boolean process(Set<? extends TypeElement> annotations,
                                 RoundEnvironment roundEnv)

      Specified by:
        `process` in interface `Processor`
      Specified by:
        `process` in class `AbstractProcessor`

    - #### postProcessWorkItemDefinition

          public boolean postProcessWorkItemDefinition()

    - #### getTemplateData

          public byte[] getTemplateData(String templateStr,
                                        Map<String,WidInfo> widInfoMap)

    - #### writeStream

          public void writeStream(FileObject fileObject,
                                  byte[] data)
                           throws IOException

      Throws:
        `IOException`

    - #### getFileObject

          public FileObject getFileObject(String pkg,
                                          String name)
                                   throws IOException

      Throws:
        `IOException`

    - #### setResetResults

          public void setResetResults(boolean resetResults)

    - #### getProcessingResults

          public Map<String,List<Wid>> getProcessingResults()

    - #### setProcessingResults

          public void setProcessingResults(Map<String,List<Wid>> processingResults)

Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.