Class TaskAdminClient

java.lang.Object
org.wso2.am.admin.clients.tasks.TaskAdminClient

public class TaskAdminClient extends Object
  • Constructor Details

    • 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 Details

    • addTask

      public void addTask(DataHandler dh) throws org.wso2.carbon.task.stub.TaskManagementException, IOException, XMLStreamException
      Throws:
      org.wso2.carbon.task.stub.TaskManagementException
      IOException
      XMLStreamException
    • 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