Package uk.org.ogsadai.client.toolkit

Examples of uk.org.ogsadai.client.toolkit.Activity


                if (entry.getValue().getStatus() == ActivityStatus.ERROR)
                {
                    ProcessingElementErrorType pe =
                        mObjectFactory.createProcessingElementErrorType();
                    // TODO activity name needs to be mapped to processing element
                    Activity activity = mActivities.get(entry.getKey());
                    if (activity != null)
                    {
                        pe.setType(activity.getActivityName().toString());
                    }
                    else
                    {
                        // if the activity instance can't be mapped then it was
                        // inserted automatically by OGSA-DAI
View Full Code Here


        names.add("1"); names.add("2"); names.add("3");
        List<?> activities = workflow.getActivities();
        assertEquals(3, activities.size());
        for (Object object : activities)
        {
            Activity activity = (Activity)object;
            assertTrue(names.remove(activity.getActivityName().toString()));
        }
        assertTrue(names.isEmpty());
    }
View Full Code Here

TOP

Related Classes of uk.org.ogsadai.client.toolkit.Activity

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.