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 GlobalPropsgetProjectProps(java.lang.String projectName)High-speed cached call to get the project's current GlobalProps objectScriptManagergetProjectScriptManager(java.lang.String projectName)Returns the script manager for the given project.TagHistoryManagergetProjectTagHistoryManager(java.lang.String projectName)Get theTagHistoryManagerforprojectName.TagManagergetProjectTagManager(java.lang.String projectName)Get theTagManagerforprojectName.-
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 theTagManagerforprojectName.- Parameters:
projectName- the name of the Project.- Returns:
- the
TagManagerforprojectName.
-
getProjectTagHistoryManager
@Nullable TagHistoryManager getProjectTagHistoryManager(java.lang.String projectName)
Get theTagHistoryManagerforprojectName.- Parameters:
projectName- the name of the Project.- Returns:
- the
TagHistoryManagerforprojectName.
-
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
-
-