Skip to content

Commit 73d412c

Browse files
committed
Add refactored integration jobs
1 parent e3f0e57 commit 73d412c

File tree

3 files changed

+44
-0
lines changed

3 files changed

+44
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
using System;
2+
3+
namespace IntegrationEngine.Core.IntegrationJob
4+
{
5+
public interface IIntegrationJob
6+
{
7+
void Run();
8+
}
9+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
using IntegrationEngine.Model;
2+
using System;
3+
using System.Collections.Generic;
4+
using System.Linq;
5+
using System.Text;
6+
using System.Threading.Tasks;
7+
8+
namespace IntegrationEngine.Core.IntegrationJob
9+
{
10+
public interface IParameterizedJob : IIntegrationJob, IHasParameters
11+
{}
12+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Runtime.Serialization;
5+
using System.Text;
6+
using System.Threading.Tasks;
7+
8+
namespace IntegrationEngine.Core.IntegrationJob
9+
{
10+
public class IntegrationJobRunFailureException : Exception
11+
{
12+
public IntegrationJobRunFailureException()
13+
{}
14+
15+
public IntegrationJobRunFailureException(string message)
16+
: base(message)
17+
{}
18+
19+
public IntegrationJobRunFailureException(string message, Exception innerException)
20+
: base(message, innerException)
21+
{}
22+
}
23+
}

0 commit comments

Comments
 (0)