Exemplo n.º 1
0
		protected virtual void PluginTrackable_ExecuteFailed(object sender, ObjectErrorEventArgs<IPlugin> eventArgs)
		{
			ExecuteFailed(this, eventArgs);
		}
Exemplo n.º 2
0
		protected virtual void PluginTrackable_RollbackFailed(object sender, ObjectErrorEventArgs<IPlugin> eventArgs)
		{
			RollbackFailed(this, eventArgs);
		}
Exemplo n.º 3
0
		private void RaiseExecuteFailed(object sender, ObjectErrorEventArgs<IPlugin> eventArgs)
		{
			ExecuteFailed(this, eventArgs);
		}
Exemplo n.º 4
0
		private void RaiseCommitFailed(object sender, ObjectErrorEventArgs<IPlugin> eventArgs)
		{
			CommitFailed(this, eventArgs);
		}
Exemplo n.º 5
0
		private void RaiseRollbackFailed(object sender, ObjectErrorEventArgs<IPlugin> eventArgs)
		{
			RollbackFailed(sender, eventArgs);
		}
Exemplo n.º 6
0
		private void ExecutionManager_ExecuteFailed(object sender, ObjectErrorEventArgs<IPlugin> eventArgs)
		{
			ExecuteFailed(this, eventArgs);
		}
Exemplo n.º 7
0
		void ExecutionSlot_RollbackFailed(object sender, ObjectErrorEventArgs<IPlugin> eventArgs)
		{
			lock (Plugins)
			{
				Plugins.Remove(eventArgs.EventObject);

				eventArgs.EventObject.RollbackCompleted -= ExecutionSlot_RollbackCompleted;
				eventArgs.EventObject.RollbackFailed -= ExecutionSlot_RollbackFailed;
			}
			Octopus.Core.Logging.Logging.Instance.Log(string.Format("ExecutionSlot@ExecutionSlot_ExecuteFailed() - Message: {0}\nStackTrace: {1}", eventArgs.Exception.Message, eventArgs.Exception.StackTrace), true);

			RollbackFailed(this, eventArgs);
		}
Exemplo n.º 8
0
		private void Agent_RollbackFailed(object sender, ObjectErrorEventArgs<IPlugin> eventArgs)
		{
			eventArgs.EventObject.ReleaseOperationRight();

			RollbackFailed(this, eventArgs);
		}
Exemplo n.º 9
0
		protected override void PluginTrackable_RollbackFailed(object sender, ObjectErrorEventArgs<IPlugin> eventArgs)
		{
			base.PluginTrackable_RollbackFailed(sender, eventArgs);

			CurrentCommand = JobCommand.Finalize;
			StatusID = (int)Status.RollbackFailed;

			JobRollbackFailed(this, eventArgs);
		}