de.ukn.hci.squidy.manager.model
Class Workspace

java.lang.Object
  extended by de.ukn.hci.squidy.manager.model.Processable
      extended by de.ukn.hci.squidy.manager.model.Piping
          extended by de.ukn.hci.squidy.manager.model.Workspace
All Implemented Interfaces:
ILaunchable, IProcessable<Processable>

public class Workspace
extends Piping

Workspace.

 Date: Feb 22, 2009
 Time: 9:31:00 PM
 

Since:
1.0.0
Version:
$Id: Workspace.java 123 2009-12-26 19:45:23Z raedle $
Author:
Roman R&aumldle
Roman.Raedle@uni-konstanz.de
Human-Computer Interaction Group
University of Konstanz

Field Summary
 
Fields inherited from class de.ukn.hci.squidy.manager.model.Processable
processing, PROPERTY_DELETE, PROPERTY_FAILURE_PUBLISH, PROPERTY_FAILURE_RESOLVE, PROPERTY_PROCESSING_START, PROPERTY_PROCESSING_STOP
 
Constructor Summary
Workspace()
          Default constructor required for JAXB.
 
Method Summary
 void delete()
          Allows to delete the IProcessable implementing class.
 IDataContainer process(IDataContainer dataContainer)
          Processes the data container and returns the processed result of the data container.
 void publish(IData... data)
          Publishs data objects to connected processables.
 void publish(IDataContainer dataContainer)
          Publishs a data container to connected processables.
 
Methods inherited from class de.ukn.hci.squidy.manager.model.Piping
addDataVisitorFactory, addIncomingPipe, addOutgoingPipe, attachVisitors, getIncomingPipes, getOutgoingPipes, getPipes, notifyVisitors, removeDataVisitorFactory, removeIncomingPipe, removeOutgoingPipe, setIncomingPipes, setOutgoingPipes, setPipes, toString
 
Methods inherited from class de.ukn.hci.squidy.manager.model.Processable
addPropertyChangeListener, addPropertyChangeListener, addSubProcessable, firePropertyChange, getId, getParent, getSubProcessables, isProcessing, postStopSubProcessables, preStartSubProcessables, publishFailure, removeStateChangeListener, removeStateChangeListener, removeSubProcessable, resolveFailure, setId, setParent, setSubProcessables, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Workspace

public Workspace()
Default constructor required for JAXB.

Method Detail

delete

public void delete()
            throws ProcessException
Description copied from interface: ILaunchable
Allows to delete the IProcessable implementing class.

Specified by:
delete in interface ILaunchable
Overrides:
delete in class Processable
Throws:
ProcessException - Exception can occur while trying to stop the IProcessable.

process

public IDataContainer process(IDataContainer dataContainer)
Description copied from interface: IProcessable
Processes the data container and returns the processed result of the data container.

Parameters:
dataContainer - The data container to be processed.
Returns:
The result of the process.

publish

public void publish(IData... data)
Description copied from interface: IProcessable
Publishs data objects to connected processables.

Parameters:
data - The data objects to be published.

publish

public void publish(IDataContainer dataContainer)
Description copied from interface: IProcessable
Publishs a data container to connected processables.



Copyright © 2007-2010 Human-Computer-Interaction :: University of Konstanz. All Rights Reserved.