Package me.datafox.dfxengine.handles.api
Interface HandleManager
- All Known Implementing Classes:
HandleManagerImpl
public interface HandleManager
-
Method Summary
Modifier and TypeMethodDescriptioncreateSpace(String id) Creates aSpacewith the specified id if it does not already exist and returns the space with that id.
-
Method Details
-
getSpaceSpace
Space getSpaceSpace() -
getTagSpace
Space getTagSpace() -
getSpaces
-
createSpace
- Parameters:
id-Stringid for the newSpace- Returns:
- created
Space - Throws:
NullPointerException- if the id isnullIllegalArgumentException- if the id is empty, blank, contains non-ASCII or non-printable characters or the colon (:), or if aSpacewith the given id already exists
-
getOrCreateSpace
Creates aSpacewith the specified id if it does not already exist and returns the space with that id.- Parameters:
id-Stringid for theSpace- Returns:
- created or pre-existing
Space - Throws:
NullPointerException- if the id isnullIllegalArgumentException- if the id is empty, blank, contains non-ASCII or non-printable characters or the colon (:)
-