|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ingenta.clownbike.TaskFactory
A TaskFactory is used to create new tasks. There is a task factory for each kind of task that can be performed.
| Constructor Summary | |
TaskFactory(Configuration configuration)
|
|
| Method Summary | |
abstract Task |
create(DatabaseTransaction transaction)
Create a new task. |
boolean |
equals(java.lang.Object object)
|
Configuration |
getConfiguration()
|
java.lang.String |
getDescription()
|
java.lang.Integer |
getId()
Returns the id for this factory. |
java.lang.String |
getTitle()
Returns the description. |
int |
hashCode()
|
protected void |
setConfiguration(Configuration configuration)
|
protected void |
setDescription(java.lang.String description)
|
protected void |
setId(java.lang.Integer id)
Returns the title. |
protected void |
setTitle(java.lang.String title)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TaskFactory(Configuration configuration)
throws TaskException
| Method Detail |
public java.lang.Integer getId()
protected void setId(java.lang.Integer id)
public java.lang.String getTitle()
protected void setTitle(java.lang.String title)
public java.lang.String getDescription()
protected void setDescription(java.lang.String description)
public Configuration getConfiguration()
protected void setConfiguration(Configuration configuration)
public abstract Task create(DatabaseTransaction transaction)
throws TaskException
TaskExceptionpublic boolean equals(java.lang.Object object)
public int hashCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||