java.lang.Object
com.s8.api.flow.space.requests.AccessSpaceS8Request
A Request Object to access a space.
- Author:
- Pierre Convert Copyright (C) 2025, Pierre Convert. All rights reserved.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
The status of the response -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal String
The identifier of the space targeted by this request.final boolean
True if immediate Disk writing is required -
Constructor Summary
ConstructorsConstructorDescriptionAccessSpaceS8Request
(String spaceId, boolean writeChangesImmediatelyAfter) Main constructor -
Method Summary
Modifier and TypeMethodDescriptionabstract void
onAccessed
(AccessSpaceS8Request.Status status, Object[] objects) Callback method upon successful completion of the request (check status to see if the request succeed).abstract void
Callback method upon failed execution of the request.
-
Field Details
-
spaceId
The identifier of the space targeted by this request. -
writeChangesImmediatelyAfter
public final boolean writeChangesImmediatelyAfterTrue if immediate Disk writing is required
-
-
Constructor Details
-
AccessSpaceS8Request
Main constructor- Parameters:
spaceId
- the identifier of the spacewriteChangesImmediatelyAfter
- true if changes needs to be copied to hard drive immediately
-
-
Method Details
-
onAccessed
Callback method upon successful completion of the request (check status to see if the request succeed).- Parameters:
status
- the status upon successful accessobjects
- the objects accessed wthat have been reached.
-
onFailed
Callback method upon failed execution of the request.- Parameters:
exception
- the exception raiseed upon accessing the space.
-