|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectteamSpace.structure.TeamSpace
This class represents the Team Space and it serves as an interface to all of the important part of the Team Space
Constructor Summary | |
TeamSpace(TMST taskStructureTree,
java.lang.String teamID,
java.lang.String requester)
The constructor instantiates the different parts of the Team Space. |
Method Summary | |
boolean |
addProcessedActions(java.util.ArrayList actions)
The method adds processed actions to the Result Library |
boolean |
addProcessedPSMs(java.util.ArrayList psms)
The method adds composed PSMs to the Result Library |
java.util.ArrayList |
getActionsReadyToExecute()
The method returns the actions that are ready to be executed. |
FileWriter |
getFileWriter()
This method returns the FileWriter that handles printing the output of the problem solving steps to a file. |
java.lang.String |
getInitalInput()
The method returns the initial input |
java.lang.String |
getInitialProblem()
The method returns the initial problem |
java.lang.String |
getProblemSolution()
The method returns the solution to the initial problem |
java.util.ArrayList |
getProcessingActions()
The method returns the processing actions - the actions to be executed in the current state of the problem solving process |
java.util.ArrayList |
getProcessingPSMs()
The method returns the processing PSMs - the PSMs to be composed in the current state of the problem solving process |
java.util.ArrayList |
getPSMsReadyToCompose()
The method returns the PSMs that are ready to be composed. |
java.lang.String |
getTeamID()
The method returns the teamID |
boolean |
initialize()
The method initializes the Team Space and it's parts. |
void |
printCurrentState()
The method prints the current state of the problem solving in the Team Space. |
void |
setProcessingActions(java.util.ArrayList actions)
This method sets the actions that are going to be processed. |
void |
setProcessingPSMs(java.util.ArrayList psms)
This method sets the psms that are going to be composed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TeamSpace(TMST taskStructureTree, java.lang.String teamID, java.lang.String requester)
taskStructureTree
- A reference to the TMST from the kept by the CoPSTaskResponsibleteamID
- The ID of the Team Spacerequester
- The requester (CoPSTaskResponsible) of the Team SpaceMethod Detail |
public boolean initialize()
true
if everything went ok and false
if notpublic FileWriter getFileWriter()
public java.util.ArrayList getActionsReadyToExecute()
ArrayList
public java.util.ArrayList getPSMsReadyToCompose()
ArrayList
public boolean addProcessedActions(java.util.ArrayList actions)
actions
- The actions to be added
true
if everything went ok and false
if notpublic boolean addProcessedPSMs(java.util.ArrayList psms)
psms
- The PSMs to be added
true
if everything went ok and false
if notpublic java.lang.String getProblemSolution()
String
public java.lang.String getInitialProblem()
String
public java.lang.String getTeamID()
public java.lang.String getInitalInput()
String
public java.util.ArrayList getProcessingActions()
TSAction
objectspublic java.util.ArrayList getProcessingPSMs()
TSPSM
objectspublic void setProcessingActions(java.util.ArrayList actions)
actions
- - A list of actionspublic void setProcessingPSMs(java.util.ArrayList psms)
psms
- - A list of psmspublic void printCurrentState()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |