org.wso2.carbon.dataservices.task
Class DSTaskAdmin

java.lang.Object
  extended by org.wso2.carbon.core.AbstractAdmin
      extended by org.wso2.carbon.dataservices.task.DSTaskAdmin

public class DSTaskAdmin
extends org.wso2.carbon.core.AbstractAdmin


Field Summary
 
Fields inherited from class org.wso2.carbon.core.AbstractAdmin
axisConfig, configurationContext
 
Constructor Summary
DSTaskAdmin()
           
 
Method Summary
 void deleteTask(String taskName)
           
 String[] getAllSchedulableDataServices()
          Retrieves the list of Data Services deployed.
 String[] getAllTaskNames()
           
 String[] getNoParamDSOperations(String dsName)
          Returns the data service operations which contains no input parameters.
 DSTaskInfo getTaskInfo(String taskName)
           
 boolean isTaskScheduled(String taskName)
           
 boolean rescheduleTask(DSTaskInfo dsTaskInfo)
           
 void scheduleTask(DSTaskInfo dsTaskInfo)
           
 
Methods inherited from class org.wso2.carbon.core.AbstractAdmin
getAxisConfig, getConfigContext, getConfigSystemRegistry, getConfigUserRegistry, getGovernanceRegistry, getGovernanceSystemRegistry, getGovernanceUserRegistry, getHttpSession, getLocalRepo, getRegistry, getTenantDomain, getUsername, getUserRealm, setConfigurationContext, setPermissionUpdateTimestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DSTaskAdmin

public DSTaskAdmin()
Method Detail

getAllTaskNames

public String[] getAllTaskNames()
                         throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault

getTaskInfo

public DSTaskInfo getTaskInfo(String taskName)
                       throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault

scheduleTask

public void scheduleTask(DSTaskInfo dsTaskInfo)
                  throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault

rescheduleTask

public boolean rescheduleTask(DSTaskInfo dsTaskInfo)
                       throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault

deleteTask

public void deleteTask(String taskName)
                throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault

isTaskScheduled

public boolean isTaskScheduled(String taskName)
                        throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault

getAllSchedulableDataServices

public String[] getAllSchedulableDataServices()
                                       throws org.apache.axis2.AxisFault
Retrieves the list of Data Services deployed.

Returns:
a String array containing the list of data services
Throws:
org.apache.axis2.AxisFault - AxisFault

getNoParamDSOperations

public String[] getNoParamDSOperations(String dsName)
                                throws org.apache.axis2.AxisFault
Returns the data service operations which contains no input parameters.

Parameters:
dsName - The data service name
Returns:
The no parameter operation names
Throws:
org.apache.axis2.AxisFault


Copyright © 2015 WSO2. All rights reserved.