Interface LegacyProjectScriptManager
-
public interface LegacyProjectScriptManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<ProjectScriptDiagnostic>
getProjectScriptDiagnostics(java.lang.String projectName, ProjectScriptDiagnostic.DiagnosticType type)
Get theProjectScriptDiagnostic
for a Project.void
invokeGWMessageHandler(java.lang.String projectName, java.lang.String messageHandlerName, org.python.core.PyDictionary messageParams, MessageResultHandler handler, java.util.Properties properties)
Invokes the specified Gateway message handler on a project.
-
-
-
Method Detail
-
getProjectScriptDiagnostics
java.util.List<ProjectScriptDiagnostic> getProjectScriptDiagnostics(java.lang.String projectName, ProjectScriptDiagnostic.DiagnosticType type)
Get theProjectScriptDiagnostic
for a Project.- Parameters:
projectName
- the name of the Project.type
- the diagnostic type.- Returns:
- the
ProjectScriptDiagnostic
forprojectName
.
-
invokeGWMessageHandler
void invokeGWMessageHandler(java.lang.String projectName, java.lang.String messageHandlerName, org.python.core.PyDictionary messageParams, MessageResultHandler handler, java.util.Properties properties) throws MessageHandlerException
Invokes the specified Gateway message handler on a project. The messageParams PyDictionary object is passed to the message handler.- Parameters:
projectName
- The project name.messageHandlerName
- The name of the Gateway message handler in the Project.messageParams
- a PyDictionary that is passed to the message handler. SeeMessageDispatchManager
for details.handler
- a result handler. May be null.properties
- Contains associated properties, like originating user and zone. May be null.- Throws:
MessageHandlerException
- if the message handler cannot be found in the project or some other problem occurred.
-
-