Class TaskAdminClient


  • public class TaskAdminClient
    extends Object
    • Constructor Detail

      • TaskAdminClient

        public TaskAdminClient​(String backEndUrl,
                               String sessionCookie)
                        throws org.apache.axis2.AxisFault
        Throws:
        org.apache.axis2.AxisFault
      • TaskAdminClient

        public TaskAdminClient​(String backEndUrl,
                               String userName,
                               String password)
                        throws org.apache.axis2.AxisFault
        Throws:
        org.apache.axis2.AxisFault
    • Method Detail

      • addTask

        public void addTask​(org.apache.axiom.om.OMElement scheduleTaskElem)
                     throws org.wso2.carbon.task.stub.TaskManagementException,
                            RemoteException
        Throws:
        org.wso2.carbon.task.stub.TaskManagementException
        RemoteException
      • deleteTask

        public void deleteTask​(String name,
                               String group)
                        throws org.wso2.carbon.task.stub.TaskManagementException,
                               RemoteException
        Throws:
        org.wso2.carbon.task.stub.TaskManagementException
        RemoteException
      • getScheduleTask

        public org.apache.axiom.om.OMElement getScheduleTask​(String name,
                                                             String group)
                                                      throws org.wso2.carbon.task.stub.TaskManagementException,
                                                             RemoteException
        Throws:
        org.wso2.carbon.task.stub.TaskManagementException
        RemoteException
      • getAllTaskDescriptions

        public org.apache.axiom.om.OMElement getAllTaskDescriptions()
                                                             throws RemoteException,
                                                                    org.wso2.carbon.task.stub.TaskManagementException
        Throws:
        RemoteException
        org.wso2.carbon.task.stub.TaskManagementException
      • getScheduleTaskList

        public List<String> getScheduleTaskList()
                                         throws RemoteException,
                                                org.wso2.carbon.task.stub.TaskManagementException
        Throws:
        RemoteException
        org.wso2.carbon.task.stub.TaskManagementException