All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.enonic.xp.task.TaskService Maven / Gradle / Ivy

The newest version!
package com.enonic.xp.task;

import java.util.List;

import com.enonic.xp.annotation.PublicApi;
import com.enonic.xp.data.PropertyTree;
import com.enonic.xp.page.DescriptorKey;

@PublicApi
public interface TaskService
{
    @Deprecated
    TaskId submitTask( RunnableTask runnable, String description );

    TaskId submitLocalTask( SubmitLocalTaskParams params );

    @Deprecated
    TaskId submitTask( DescriptorKey key, PropertyTree config );

    TaskId submitTask( SubmitTaskParams params );

    TaskInfo getTaskInfo( TaskId taskId );

    List getAllTasks();

    List getRunningTasks();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy