org.kie.api.runtime.process

## Interface CaseData

-     public interface CaseData

  Top level of Case(File)Data that holds all shared information within a case.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `add(String name, Object data)` Add single data item into existing case file (replaces already existing data that matches with input)
    `Map<String,Object>` | `getData()` Returns all available case data for given case.
    `Object` | `getData(String name)` Returns case data for given case registered under given name.
    `void` | `remove(String name)` Remove permanently given data from existing case file

- - ### Method Detail

    - #### getData

          Map<String,Object> getData()

      Returns all available case data for given case.
      Returns:

    - #### getData

          Object getData(String name)

      Returns case data for given case registered under given name.
      Returns:

    - #### add

          void add(String name,
                   Object data)

      Add single data item into existing case file (replaces already existing data that matches with input)
      Parameters:
        `name` -
        `data` -

    - #### remove

          void remove(String name)

      Remove permanently given data from existing case file
      Parameters:
        `name` -

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