Class StringCaseVariableIndexer

  • All Implemented Interfaces:
    org.jbpm.casemgmt.api.audit.CaseVariableIndexer, org.kie.internal.utils.VariableIndexer<org.jbpm.casemgmt.api.audit.CaseFileData>

    public class StringCaseVariableIndexer
    extends Object
    implements org.jbpm.casemgmt.api.audit.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 Detail

      • StringCaseVariableIndexer

        public StringCaseVariableIndexer()
    • Method Detail

      • accept

        public boolean accept​(Object variable)
        Specified by:
        accept in interface org.kie.internal.utils.VariableIndexer<org.jbpm.casemgmt.api.audit.CaseFileData>
      • index

        public List<org.jbpm.casemgmt.api.audit.CaseFileData> index​(String name,
                                                                    Object variable)
        Specified by:
        index in interface org.kie.internal.utils.VariableIndexer<org.jbpm.casemgmt.api.audit.CaseFileData>
      • getIndexNames

        public List<String> getIndexNames​(String name)
        Specified by:
        getIndexNames in interface org.jbpm.casemgmt.api.audit.CaseVariableIndexer