Package com.nomagic.ci.persistence
Interface IPrimaryProject
-
- All Superinterfaces:
IProject
,Serviceable
@OpenApiAll public interface IPrimaryProject extends IProject
Represents a compound bundle of 'things' that are persisted as a whole. How this persistence works is entirely up to implementations. This interface is typically not directly implemented, but serves as the base class for other interfaces.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close(org.eclipse.core.runtime.IProgressMonitor monitor)
Closes the underlying data store.java.util.List<IAttachedProject>
getProjects()
Gets flat list of all IAttachedProject instances that are associated with a primary project.boolean
isClosed()
Gets the project state.-
Methods inherited from interface com.nomagic.ci.persistence.IProject
addProjectListener, getDescription, getFeature, getFeatureDataManager, getInstalledFeatures, getLocationURI, getName, getProjectDescriptor, getProjectID, getProjectListeners, getProjectRepository, getResourceSet, installFeatures, isNew, isReadOnly, removeProjectListener, setDescription, setName, uninstallFeatures
-
Methods inherited from interface com.nomagic.ci.persistence.services.Serviceable
getService, getServiceOrFail, registerService
-
-
-
-
Method Detail
-
getProjects
java.util.List<IAttachedProject> getProjects()
Gets flat list of all IAttachedProject instances that are associated with a primary project.- Returns:
- unmodifiable live list of
IAttachedProject
-
close
void close(org.eclipse.core.runtime.IProgressMonitor monitor)
Closes the underlying data store. After calling this method, callers should not perform any further operations on objects that were retrieved from this instance.
-
isClosed
boolean isClosed()
Gets the project state.- Returns:
- true if closed.
-
-