org.wso2.carbon.dataservices.task
Class DSTaskAdmin
java.lang.Object
org.wso2.carbon.core.AbstractAdmin
org.wso2.carbon.dataservices.task.DSTaskAdmin
public class DSTaskAdmin
- extends org.wso2.carbon.core.AbstractAdmin
| Fields inherited from class org.wso2.carbon.core.AbstractAdmin |
axisConfig, configurationContext |
| 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 |
DSTaskAdmin
public DSTaskAdmin()
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.