org.wso2.carbon.dataservices.task.ui
Class DSTaskClient

java.lang.Object
  extended by org.wso2.carbon.dataservices.task.ui.DSTaskClient

public class DSTaskClient
extends Object


Field Summary
static String DISABLE_ADD_TASK
           
static String EXCEPTION
           
 
Constructor Summary
DSTaskClient(String cookie, String backendUrl, org.apache.axis2.context.ConfigurationContext ctxt)
           
 
Method Summary
 void deleteTask(String taskName)
           
 String[] getAllSchedulableDataServices()
           
 String[] getAllTaskNames()
           
 String[] getNoParamDSOperations(String serviceName)
           
 org.wso2.carbon.dataservices.task.ui.stub.xsd.DSTaskInfo getTaskInfo(String taskName)
           
 boolean isTaskScheduled(String taskName)
           
 boolean rescheduleTask(org.wso2.carbon.dataservices.task.ui.stub.xsd.DSTaskInfo dsTaskInfo)
           
 void scheduleTask(org.wso2.carbon.dataservices.task.ui.stub.xsd.DSTaskInfo dsTaskInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXCEPTION

public static final String EXCEPTION
See Also:
Constant Field Values

DISABLE_ADD_TASK

public static final String DISABLE_ADD_TASK
See Also:
Constant Field Values
Constructor Detail

DSTaskClient

public DSTaskClient(String cookie,
                    String backendUrl,
                    org.apache.axis2.context.ConfigurationContext ctxt)
             throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault
Method Detail

getAllTaskNames

public String[] getAllTaskNames()
                         throws Exception
Throws:
Exception

getTaskInfo

public org.wso2.carbon.dataservices.task.ui.stub.xsd.DSTaskInfo getTaskInfo(String taskName)
                                                                     throws Exception
Throws:
Exception

scheduleTask

public void scheduleTask(org.wso2.carbon.dataservices.task.ui.stub.xsd.DSTaskInfo dsTaskInfo)
                  throws Exception
Throws:
Exception

rescheduleTask

public boolean rescheduleTask(org.wso2.carbon.dataservices.task.ui.stub.xsd.DSTaskInfo dsTaskInfo)
                       throws Exception
Throws:
Exception

deleteTask

public void deleteTask(String taskName)
                throws Exception
Throws:
Exception

isTaskScheduled

public boolean isTaskScheduled(String taskName)
                        throws Exception
Throws:
Exception

getAllSchedulableDataServices

public String[] getAllSchedulableDataServices()
                                       throws Exception
Throws:
Exception

getNoParamDSOperations

public String[] getNoParamDSOperations(String serviceName)
                                throws Exception
Throws:
Exception


Copyright © 2015 WSO2. All rights reserved.