1
2
3
4
5
6
7
8
9
10
11
12
13
14 package org.astrogrid.applications.delegate.impl;
15
16 import org.astrogrid.applications.beans.v1.ApplicationList;
17 import org.astrogrid.applications.beans.v1.cea.castor.ExecutionSummaryType;
18 import org.astrogrid.applications.beans.v1.cea.castor.MessageType;
19 import org.astrogrid.applications.beans.v1.cea.castor.ResultListType;
20 import org.astrogrid.applications.delegate.CEADelegateException;
21 import org.astrogrid.jes.types.v1.cea.axis.JobIdentifierType;
22 import org.astrogrid.workflow.beans.v1.Tool;
23
24 import java.net.URI;
25
26 /***
27 * @author Paul Harrison (pah@jb.man.ac.uk) 11-Mar-2004
28 * @version $Name: $
29 * @since iteration5
30 */
31 public class CommonExecutionConnectorDummyDelegate extends CommonExecutionConnectorDelegate {
32
33 /***
34 *
35 */
36 public CommonExecutionConnectorDummyDelegate() {
37 super();
38 }
39
40
41
42
43 public boolean abort(final String executionId) throws CEADelegateException {
44 return true;
45 }
46
47
48
49
50 public MessageType queryExecutionStatus(final String executionId) throws CEADelegateException {
51
52 throw new UnsupportedOperationException("CommonExecutionConnectorDummyDelegate.queryExecutionStatus() not implemented");
53 }
54
55
56
57
58 public String returnRegistryEntry() throws CEADelegateException {
59
60 throw new UnsupportedOperationException("CommonExecutionConnectorDummyDelegate.returnRegistryEntry() not implemented");
61 }
62
63 /***
64 * @see org.astrogrid.applications.delegate.CommonExecutionConnectorClient#init(org.astrogrid.workflow.beans.v1.Tool, org.astrogrid.jes.types.v1.cea.axis.JobIdentifierType)
65 */
66 public String init(Tool tool, JobIdentifierType jobstepID) throws CEADelegateException {
67 return "dummy";
68
69 }
70
71 /***
72 * @see org.astrogrid.applications.delegate.CommonExecutionConnectorClient#registerProgressListener(java.lang.String, java.net.URI)
73 */
74 public void registerProgressListener(String executionId, URI listenerEndpoint) throws CEADelegateException {
75 }
76
77 /***
78 * @see org.astrogrid.applications.delegate.CommonExecutionConnectorClient#registerResultsListener(java.lang.String, java.net.URI)
79 */
80 public void registerResultsListener(String executionId, URI listenerEndpoint) throws CEADelegateException {
81 }
82
83 /***
84 * @see org.astrogrid.applications.delegate.CommonExecutionConnectorClient#execute(java.lang.String)
85 */
86 public boolean execute(String executionId) throws CEADelegateException {
87 return true;
88 }
89
90 /***
91 * @see org.astrogrid.applications.delegate.CommonExecutionConnectorClient#getResults(java.lang.String)
92 */
93 public ResultListType getResults(String executionId) throws CEADelegateException {
94
95 throw new UnsupportedOperationException("CommonExecutionConnectorDummyDelegate.getResults() not implemented");
96
97 }
98
99 /***
100 * @see org.astrogrid.applications.delegate.CommonExecutionConnectorClient#getExecutionSumary(java.lang.String)
101 */
102 public ExecutionSummaryType getExecutionSumary(String executionId) throws CEADelegateException {
103
104 throw new UnsupportedOperationException("CommonExecutionConnectorDummyDelegate.getExecutionSummary() not implemented");
105
106 }
107
108
109 }