blob: 083e4b094dcc60d3ea31092e406025065a5badba (
plain) (
tree)
|
|
package org.openslx.taskmanager.tasks;
import org.openslx.taskmanager.api.AbstractTask;
/**
* DummyTask - main purpose is to check if the task manager is still working
*/
public class DummyTask extends AbstractTask
{
private DummyTaskStatus status = new DummyTaskStatus();
@Override
protected boolean initTask()
{
return true;
}
@Override
protected boolean execute()
{
setStatusObject( status );
this.status.progress = 100;
return true;
}
class DummyTaskStatus
{
protected int progress = 0;
}
}
|