Added convenient method for unSchedule
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/vre-management/smart-executor-client@150897 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
099af9bdbe
commit
5218525346
|
@ -63,6 +63,7 @@ public class DefaultSmartExecutorProxy implements SmartExecutorProxy {
|
|||
* unSchedule(String executionIdentifier, boolean globally)
|
||||
* Passing false to globally
|
||||
*/
|
||||
@Override
|
||||
public boolean unSchedule(final String executionIdentifier) throws ExecutorException {
|
||||
return this.unSchedule(executionIdentifier, false);
|
||||
}
|
||||
|
|
|
@ -4,11 +4,19 @@
|
|||
package org.gcube.vremanagement.executor.client.proxies;
|
||||
|
||||
import org.gcube.vremanagement.executor.api.SmartExecutor;
|
||||
import org.gcube.vremanagement.executor.exception.ExecutorException;
|
||||
|
||||
/**
|
||||
* @author Luca Frosini (ISTI - CNR)
|
||||
*
|
||||
*/
|
||||
public interface SmartExecutorProxy extends SmartExecutor {
|
||||
|
||||
|
||||
/**
|
||||
* It is the same of calling
|
||||
* unSchedule(String executionIdentifier, boolean globally)
|
||||
* Passing false to globally
|
||||
*/
|
||||
public boolean unSchedule(final String executionIdentifier) throws ExecutorException;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue