Skip to content

Commit

Permalink
Added exception placeholder for DryRun functionality.
Browse files Browse the repository at this point in the history
  • Loading branch information
GuyWaguespack committed Feb 6, 2018
1 parent 0c31903 commit 56cc49d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Synapse.Handlers.FileUtil/CopyFileHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ public override ExecuteResult Execute(HandlerStartInfo startInfo)
ExecuteResult result = new ExecuteResult();
result.Status = StatusType.Success;

// TODO : Implement DryRun Functionality
if (startInfo.IsDryRun)
throw new NotImplementedException("Dry Run Functionality Has Not Yet Been Implemented.");

try
{
if (startInfo.Parameters != null)
Expand Down
4 changes: 4 additions & 0 deletions Synapse.Handlers.FileUtil/DeleteFileHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ public override ExecuteResult Execute(HandlerStartInfo startInfo)
result.Status = StatusType.Success;
int cheapSequence = 0;

// TODO : Implement DryRun Functionality
if (startInfo.IsDryRun)
throw new NotImplementedException("Dry Run Functionality Has Not Yet Been Implemented.");

OnProgress("DeleteFileHandler", "Handler Execution Begins.", StatusType.Running, 0, cheapSequence++);
try
{
Expand Down
4 changes: 4 additions & 0 deletions Synapse.Handlers.FileUtil/MungeFileHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ public override ExecuteResult Execute(HandlerStartInfo startInfo)
result.Status = StatusType.Success;
int cheapSequence = 0;

// TODO : Implement DryRun Functionality
if (startInfo.IsDryRun)
throw new NotImplementedException("Dry Run Functionality Has Not Yet Been Implemented.");

try
{
OnProgress("ModifyFileHandler", "Handler Execution Begins.", StatusType.Running, 0, cheapSequence++);
Expand Down

0 comments on commit 56cc49d

Please sign in to comment.