Package 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 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.String
getDefinitionId()
Returns case definition id of this case filevoid
remove(String name)
Remove permanently given data from existing case file
-
-
-
Method Detail
-
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
-
-
getDefinitionId
String getDefinitionId()
Returns case definition id of this case file- Returns:
-
-