java.lang.Object
com.s8.api.flow.space.requests.ExposeSpaceS8Request
The Request Object to expose a space.
- Author:
- Pierre Convert Copyright (C) 2025, Pierre Convert. All rights reserved.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal SpaceS8Object[]
The exposure of the spacefinal boolean
true if hardware persistency is required immediately afterfinal String
The space id -
Constructor Summary
ConstructorsConstructorDescriptionExposeSpaceS8Request
(String spaceId, SpaceS8Object[] exposure, boolean saveImmediatelyAfter) Main Constructor -
Method Summary
Modifier and TypeMethodDescriptionabstract void
Callback method to be run on failed request processing.abstract void
onResponse
(ExposeSpaceS8Request.Status status, long version) Callback method to be run on successful request processing.
-
Field Details
-
spaceId
The space id -
exposure
The exposure of the space -
saveImmediatelyAfter
public final boolean saveImmediatelyAftertrue if hardware persistency is required immediately after
-
-
Constructor Details
-
ExposeSpaceS8Request
Main Constructor- Parameters:
spaceId
- the space idexposure
- the exposure selected for the spacesaveImmediatelyAfter
- true if hardware persisentcy is required immeditaley after exposing
-
-
Method Details
-
onResponse
Callback method to be run on successful request processing.- Parameters:
status
- the status of the responseversion
- the response content
-
onFailed
Callback method to be run on failed request processing.- Parameters:
message
- the exception
-