Files
Phraseanet/lib/Alchemy/Phrasea/TaskManager/Job/JobInterface.php
2013-10-29 18:41:39 +01:00

58 lines
1.2 KiB
PHP

<?php
/*
* This file is part of Phraseanet
*
* (c) 2005-2013 Alchemy
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Alchemy\Phrasea\TaskManager\Job;
use Alchemy\Phrasea\TaskManager\Editor\EditorInterface;
use Alchemy\TaskManager\JobInterface as JobTMInterface;
interface JobInterface extends JobTMInterface
{
/**
* Returns the fully qualified classname of the Job.
*
* It's a convenient method for the rendering engine.
*
* @return string
*/
public function getClassname();
/**
* Returns the editor related to this Job.
*
* @return EditorInterface
*/
public function getEditor();
/**
* Returns a name related to this Job.
*
* @return string
*/
public function getName();
/**
* Returns a description related to this Job.
*
* @return string
*/
public function getDescription();
/**
* Sets the pause duration between two run of the job.
*
* @param type $period
*
* @return JobInterface
*/
public function setPauseDuration($period);
}