Package org.jitterbit.integration.server.implementation.webservice.projectadmin.client

Examples of org.jitterbit.integration.server.implementation.webservice.projectadmin.client.ProjectAdministration


    return dateList.toArray( new Date[dateList.size()] );
    }

    @Override
    public void testSchedule(ScheduleId scheduleId, int numberOfRuns, TestScheduleCallback callback) {
      ProjectAdministration projectAdmin;
    try {
      projectAdmin = getProjectAdministration(callback);
      if (projectAdmin == null) {
          // The callback should already have been notified by now.
          return;
      }
    } catch (IntegrationServerException e) {
      callback.caught(e);
      return;
    }
   
    try {
      FindScheduledOperationsResult result = projectAdmin.testScheduleWithGuid(userName, password, scheduleId.toString(), null, null, numberOfRuns);
      callback.testCompleted(getQueueDates(result));
    } catch (RemoteException e) {
      callback.caught(e);
      return;
    } catch (ParseException e) {
View Full Code Here


        return wsProperties;
    }

    @Override
    public void testSchedule(Schedule schedule, int numberOfRuns, TestScheduleCallback callback) {
      ProjectAdministration projectAdmin;
    try {
      projectAdmin = getProjectAdministration(callback);
      if (projectAdmin == null) {
          // The callback should already have been notified by now.
          return;
      }
    } catch (IntegrationServerException e) {
      callback.caught(e);
      return;
    }
               
        WsKeyValuePairs wsProperties = constructWsKeyValuePairs(schedule);
        try {
      FindScheduledOperationsResult result =
        projectAdmin.testScheduleWithKeyValues(userName, password, wsProperties, null, null, numberOfRuns);
      callback.testCompleted(getQueueDates(result));
      return;
    } catch (RemoteException e) {
      callback.caught(e);
      return;
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.server.implementation.webservice.projectadmin.client.ProjectAdministration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.