Interface ProjectManager
-
- All Superinterfaces:
ProjectManagerBase
public interface ProjectManager extends ProjectManagerBase
-
-
Field Summary
-
Fields inherited from interface com.inductiveautomation.ignition.gateway.project.ProjectManagerBase
DEFAULT_NAME_PATTERN
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GlobalProps
getProjectProps(java.lang.String projectName)
High-speed cached call to get the project's current GlobalProps objectScriptManager
getProjectScriptManager(java.lang.String projectName)
Returns the script manager for the given project.TagHistoryManager
getProjectTagHistoryManager(java.lang.String projectName)
Get theTagHistoryManager
forprojectName
.TagManager
getProjectTagManager(java.lang.String projectName)
Get theTagManager
forprojectName
.-
Methods inherited from interface com.inductiveautomation.ignition.gateway.project.ProjectManagerBase
addProjectListener, copyProject, createOrReplaceProject, createProject, createProjectSafe, createProjectSafe, deleteProject, exportProject, getProject, getProject, getProject, getProjectManifests, getProjectNames, pull, pull, push, removeProjectListener
-
-
-
-
Method Detail
-
getProjectScriptManager
@Nullable ScriptManager getProjectScriptManager(java.lang.String projectName)
Returns the script manager for the given project. This script manager will be unique for this project, and have the project's global script module loaded under app.*, as well as correctly delegate references to the default datasource and default tag provider.- Returns:
- A ScriptManager, or null if the project doesn't exist
-
getProjectTagManager
@Nullable TagManager getProjectTagManager(java.lang.String projectName)
Get theTagManager
forprojectName
.- Parameters:
projectName
- the name of the Project.- Returns:
- the
TagManager
forprojectName
.
-
getProjectTagHistoryManager
@Nullable TagHistoryManager getProjectTagHistoryManager(java.lang.String projectName)
Get theTagHistoryManager
forprojectName
.- Parameters:
projectName
- the name of the Project.- Returns:
- the
TagHistoryManager
forprojectName
.
-
getProjectProps
GlobalProps getProjectProps(java.lang.String projectName) throws ProjectNotFoundException
High-speed cached call to get the project's current GlobalProps object- Returns:
- The current GlobalProps for the project
- Throws:
ProjectNotFoundException
- if the project doesn't exist
-
-