# Class: com.pnfsoftware.jeb.core.actions.ActionCollapseData

Action payload for [Actions#COLLAPSE](Actions#COLLAPSE).

## Constructor: ActionCollapseData
- parameter: `noInfoRequest`, type: `boolean`

Description: Create a collapse payload.
parameter: noInfoRequest: if `true`, hint that only minimal preparation data is required

## Method: getRecords
- return type: `java.util.Map<java.lang.String,java.lang.Boolean>`

Description: Get the collapse requests keyed by item address.
return: the requested state changes

## Method: setRecords
- parameter: `records`, type: `java.util.Map<java.lang.String,java.lang.Boolean>`

Description: Set the collapse requests keyed by item address.
parameter: records: non\-null map of records: key=item address, value=`null` to toggle the            state, `true` to collapse, `false` to expand

