private void AddAdvancedConfigurationActions()
        {
            foreach (PlanActionLookup item in this.AdvancedConfigurationActions)
            {
                PlanAction planAction = new PlanAction(
                    (item.RunOrder.HasValue) ? Convert.ToInt32(item.RunOrder.Value) : this.PlanActions.Max(pa => pa.Order) + 1,
                    WORKFLOW_ACTION_NAME_VALUE);
                planAction.AddParameter(WORKFLOW_NAME_PARAMETER_NAME_VALUE, item.Code);
                planAction.AddParameter(WORKFLOW_DATA_PARAMETER_NAME_VALUE, item.Value);

                this.PlanActions.Add(planAction);
            }
        }
        private void AddCustomObjects()
        {
            foreach (string item in this.CustomStacks)
            {
                PlanAction planAction = new PlanAction(
                    this.PlanActions.Max(pa => pa.Order) + 1,
                    STACK_PLAN_ACTION_NAME_VALUE);
                planAction.AddParameter(STACK_PARAMETER_NAME_VALUE, item);

                this.PlanActions.Add(planAction);
            }
            foreach (string item in this.CustomScans)
            {
                PlanAction planAction = new PlanAction(
                    this.PlanActions.Max(pa => pa.Order) + 1,
                    DISCOVERY_ACTION_NAME_VALUE);
                planAction.AddParameter(DISCOVERY_PARAMETER_NAME_VALUE, item);

                this.PlanActions.Add(planAction);
            }
            foreach (ActionParameter item in this.Workflows)
            {
                PlanAction planAction = new PlanAction(
                    this.PlanActions.Max(pa => pa.Order) + 1,
                    WORKFLOW_ACTION_NAME_VALUE);
                planAction.Parameters.Add(item);

                this.PlanActions.Add(planAction);
            }
        }
 private void AddApplicationStacks()
 {
     foreach (Stack item in this.ApplicationStacks)
     {
         PlanAction planAction = new PlanAction(this.PlanActions.Max(pa => pa.Order) + 1, STACK_PLAN_ACTION_NAME_VALUE);
         planAction.AddParameter(STACK_PARAMETER_NAME_VALUE, item.Code);
         this.PlanActions.Add(planAction);
     }
 }
 private void AddPlatformStack()
 {
     if (!this.PlatformStack.StackLookup.IsDefault)
     {
         PlanAction planAction = new PlanAction(this.PlanActions.Max(pa => pa.Order) + 1, STACK_PLAN_ACTION_NAME_VALUE);
         planAction.AddParameter(STACK_PARAMETER_NAME_VALUE, this.PlatformStack.StackLookup.Code);
         this.PlanActions.Add(planAction);
     }
 }
        private void AddCommonPlanActions()
        {
            foreach (PlanActionLookup item in this.CommonPlanActions)
            {
                PlanAction planAction = new PlanAction(
                    (item.RunOrder.HasValue) ? Convert.ToInt32(item.RunOrder.Value) : this.PlanActions.Max(pa => pa.Order) + 1,
                    DISCOVERY_ACTION_NAME_VALUE);
                planAction.AddParameter(DISCOVERY_PARAMETER_NAME_VALUE, item.Code);

                this.PlanActions.Add(planAction);
            }
        }