org.jbpm.casemgmt.impl.audit

## Class StringCaseVariableIndexer

- java.lang.Object
- - org.jbpm.casemgmt.impl.audit.StringCaseVariableIndexer

- All Implemented Interfaces:
    CaseVariableIndexer, org.kie.internal.utils.VariableIndexer<CaseFileData>

      public class StringCaseVariableIndexer
      extends Object
      implements CaseVariableIndexer

  Simple and default indexer for all case variables. It will keep the same name of the variable and will generate string representation based on `variable.toString()` method this indexer is always added at the end of the chain of indexers to allow custom implementations take precedence over this one.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `StringCaseVariableIndexer()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `accept(Object variable)`
    `List<String>` | `getIndexNames(String name)`
    `List<CaseFileData>` | `index(String name, Object variable)`

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

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

- - ### Constructor Detail

    - #### StringCaseVariableIndexer

          public StringCaseVariableIndexer()

  - ### Method Detail

    - #### accept

          public boolean accept(Object variable)

      Specified by:
        `accept` in interface `org.kie.internal.utils.VariableIndexer<CaseFileData>`

    - #### index

          public List<CaseFileData> index(String name,
                                          Object variable)

      Specified by:
        `index` in interface `org.kie.internal.utils.VariableIndexer<CaseFileData>`

    - #### getIndexNames

          public List<String> getIndexNames(String name)

      Specified by:
        `getIndexNames` in interface `CaseVariableIndexer`

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