Package com.solibri.smc.api.project
Interface Project
-
public interface Project
Service for accessing info regarding project (.smc) file.- Since:
- 9.10.3
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Project.SaveStatus
Statuses of project file.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<File>
getFile()
Return the location of the file (.smc) where the project is saved.Project.SaveStatus
getFileStatus()
Get theProject.SaveStatus
of the project file.Optional<OffsetDateTime>
getLastSaveTime()
Get the time when the project file was last saved.
-
-
-
Method Detail
-
getFile
Optional<File> getFile()
Return the location of the file (.smc) where the project is saved.- Returns:
- file location, empty, if project is not yet saved
- Since:
- 9.10.3
-
getFileStatus
Project.SaveStatus getFileStatus()
Get theProject.SaveStatus
of the project file.- Returns:
- the status, empty, if no model is open
- Since:
- 9.10.3
-
getLastSaveTime
Optional<OffsetDateTime> getLastSaveTime()
Get the time when the project file was last saved.- Returns:
- the save time, empty, if file is unsaved or no model is open.
-
-