Class ServiceStateJson
- java.lang.Object
-
- com.atlassian.confluence.plugins.denormalisedpermissions.state.ServiceStateJson
-
public class ServiceStateJson extends Object
-
-
Constructor Summary
Constructors Constructor Description ServiceStateJson(DenormalisedPermissionServiceState spaceState, DenormalisedPermissionServiceState contentState, Long spaceLag, Long contentLag, Collection<StateChangeInformationJson> stateChangeLog)
ServiceStateJson(DenormalisedPermissionServiceState spaceState, DenormalisedPermissionServiceState contentState, Long spaceLag, Long contentLag, List<StateChangeInformation> stateChangeLog)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getContentLag()
Returns the time difference between updating regular content permissions and denormalised content permissionsDenormalisedPermissionServiceState
getContentState()
Long
getSpaceLag()
Returns the time difference between updating regular space permissions and denormalised space permissionsDenormalisedPermissionServiceState
getSpaceState()
Collection<StateChangeInformationJson>
getStateChangeLog()
Returns a list of service state change events
-
-
-
Constructor Detail
-
ServiceStateJson
public ServiceStateJson(DenormalisedPermissionServiceState spaceState, DenormalisedPermissionServiceState contentState, Long spaceLag, Long contentLag, Collection<StateChangeInformationJson> stateChangeLog)
-
ServiceStateJson
public ServiceStateJson(DenormalisedPermissionServiceState spaceState, DenormalisedPermissionServiceState contentState, Long spaceLag, Long contentLag, List<StateChangeInformation> stateChangeLog)
-
-
Method Detail
-
getSpaceState
public DenormalisedPermissionServiceState getSpaceState()
- Returns:
- Denormalised space permission service state
-
getContentState
public DenormalisedPermissionServiceState getContentState()
- Returns:
- Denormalised content permission service state
-
getSpaceLag
public Long getSpaceLag()
Returns the time difference between updating regular space permissions and denormalised space permissions- Returns:
- lag in ms
-
getContentLag
public Long getContentLag()
Returns the time difference between updating regular content permissions and denormalised content permissions- Returns:
- lag in ms
-
getStateChangeLog
public Collection<StateChangeInformationJson> getStateChangeLog()
Returns a list of service state change events- Returns:
- list or events, sorted by event date (desc)
-
-