Interface WorkspaceInterface
- All Superinterfaces:
Remote,Serializable
- All Known Implementing Classes:
Workspace,WorkspaceSkeleton,WorkspaceStub
Interface for accessing the information about the current runtime execution.
- Version:
- 10.1.1
- Author:
- jmback
-
Method Summary
Modifier and TypeMethodDescriptionGets the conflicts.Get the displayed name for the workspace.What was the last user action?Get all variables and their values.Get the source work model.Gets the target work model.voidnewWorkModelSource(WorkModelInterface newModel) Take the given work model as new source work model.voidTake the old model again as the new souce work model.voidsetUseraction(UserAction iAction) Set the user action.voidsetVariable(String iName, Object iValue) Set the value of a variable.
-
Method Details
-
getLastUserAction
What was the last user action?- Returns:
- user action
- Throws:
M2MException- error occurredRemoteException
-
setUseraction
Set the user action.- Parameters:
iAction- user action- Throws:
M2MException- error occurredRemoteException
-
getWorkModelSource
Get the source work model.- Returns:
- The source work model
- Throws:
M2MException- error occurredRemoteException
-
getWorkModelTarget
Gets the target work model.- Returns:
- The target work model
- Throws:
M2MException- error occurredRemoteException
-
getConflicts
Gets the conflicts.- Returns:
- Model of all conflicts.
- Throws:
M2MException- error occurredRemoteException
-
getVariableMap
Get all variables and their values.- Returns:
- map of all variables and their values.
- Throws:
M2MException- error occurredRemoteException
-
setVariable
Set the value of a variable. If a variable with this name already exists, its value is overwritten.- Parameters:
iName- name of the variableiValue- value of the variable- Throws:
M2MException- error occurredRemoteException
-
getDisplayName
Get the displayed name for the workspace.- Returns:
- display name
- Throws:
RemoteException
-
newWorkModelSource
Take the given work model as new source work model.- Parameters:
newModel-- Throws:
M2MExceptionRemoteException
-
oldWorkModelSource
Take the old model again as the new souce work model.- Throws:
M2MExceptionRemoteException
-