org.apache.examples.panorama.startup.impl
Class Task
java.lang.Object
org.apache.hivemind.impl.BaseLocatable
org.apache.examples.panorama.startup.impl.Task
- All Implemented Interfaces:
- Executable, org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder
public class Task
- extends org.apache.hivemind.impl.BaseLocatable
- implements Executable
An operation that may be executed. A Task exists to wrap an
Executable object with a title and ordering information (id, after,
before).
- Author:
- Howard Lewis Ship
|
Constructor Summary |
Task()
|
| Methods inherited from class org.apache.hivemind.impl.BaseLocatable |
getLocation, setLocation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Task
public Task()
getBefore
public java.lang.String getBefore()
getId
public java.lang.String getId()
getAfter
public java.lang.String getAfter()
getTitle
public java.lang.String getTitle()
setExecutable
public void setExecutable(Executable executable)
setBefore
public void setBefore(java.lang.String string)
setId
public void setId(java.lang.String string)
setAfter
public void setAfter(java.lang.String string)
setTitle
public void setTitle(java.lang.String string)
execute
public void execute()
throws java.lang.Exception
- Delegates to the
executable object.
- Specified by:
execute in interface Executable
- Throws:
java.lang.Exception
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.