@Test public void testcreateTransientPlanNotNull(){ AutoFixPlan plan = new AutoFixPlanManager().createPlan( "ruleId", "issueId", "resourceId","docId","resourcetype", numberOfNotifications, 48); assertNotNull(plan); }
public AutoFixPlan createPlan(String ruleId, String issueId, String resourceId,String docId, String resourceType,int numberOfNotificatons, int waitTimeBeforeAutoFix) { AutoFixPlan autoFixPlan = createTransientPlan(ruleId, issueId, resourceId,docId,resourceType,numberOfNotificatons, waitTimeBeforeAutoFix); return autoFixPlan; }
AutoFixPlanManager { public AutoFixPlan createPlan(String ruleId, String issueId, String resourceId,String docId, String resourceType,int numberOfNotificatons, int waitTimeBeforeAutoFix) { AutoFixPlan autoFixPlan = createTransientPlan(ruleId, issueId, resourceId,docId,resourceType,numberOfNotificatons, waitTimeBeforeAutoFix); return autoFixPlan; } }
AutoFixPlanManager { public AutoFixPlan createPlan(String ruleId, String issueId, String resourceId,String docId, String resourceType,int numberOfNotificatons, int waitTimeBeforeAutoFix) { AutoFixPlan autoFixPlan = createTransientPlan(ruleId, issueId, resourceId,docId,resourceType,numberOfNotificatons, waitTimeBeforeAutoFix); return autoFixPlan; }  }
AutoFixPlanManager { public AutoFixPlan createPlan(String ruleId, String issueId, String resourceId,String docId, String resourceType,int numberOfNotificatons, int waitTimeBeforeAutoFix) { AutoFixPlan autoFixPlan = createTransientPlan(ruleId, issueId, resourceId,docId,resourceType,numberOfNotificatons, waitTimeBeforeAutoFix); return autoFixPlan; }  AutoFixPlan createPlan(String ruleId, String issueId, String resourceId,String docId, String resourceType,int numberOfNotificatons, int waitTimeBeforeAutoFix); AutoFixPlan createTransientPlan(String ruleId, String issueId, String resourceId,String docId,String resourceType,int numberOfNotificatons, int waitTimeBeforeAutoFix); void publishPlan(Map<String, String> ruleParam,AutoFixPlan plan); void updatePlanItemStatusAndPublish(String planId,int itemIndex,Map<String, String> ruleParam , String parentId, Status status); AutoFixPlan updatePlanItemStatus(AutoFixPlan plan,Integer itemIndex,Status status); AutoFixPlan getAutoFixPalnForResource(String resourceId,Map<String, String> ruleParam); void suspendPlan(AutoFixPlan plan, Map<String, String> ruleParam); void synchronizeAndRepublishAutoFixPlan(AutoFixPlan plan,String resourceId , Map<String, String> ruleParam); void releaseResourfes(); }
AutoFixPlanManager { public AutoFixPlan createPlan(String ruleId, String issueId, String resourceId,String docId, String resourceType,int numberOfNotificatons, int waitTimeBeforeAutoFix) { AutoFixPlan autoFixPlan = createTransientPlan(ruleId, issueId, resourceId,docId,resourceType,numberOfNotificatons, waitTimeBeforeAutoFix); return autoFixPlan; }  AutoFixPlan createPlan(String ruleId, String issueId, String resourceId,String docId, String resourceType,int numberOfNotificatons, int waitTimeBeforeAutoFix); AutoFixPlan createTransientPlan(String ruleId, String issueId, String resourceId,String docId,String resourceType,int numberOfNotificatons, int waitTimeBeforeAutoFix); void publishPlan(Map<String, String> ruleParam,AutoFixPlan plan); void updatePlanItemStatusAndPublish(String planId,int itemIndex,Map<String, String> ruleParam , String parentId, Status status); AutoFixPlan updatePlanItemStatus(AutoFixPlan plan,Integer itemIndex,Status status); AutoFixPlan getAutoFixPalnForResource(String resourceId,Map<String, String> ruleParam); void suspendPlan(AutoFixPlan plan, Map<String, String> ruleParam); void synchronizeAndRepublishAutoFixPlan(AutoFixPlan plan,String resourceId , Map<String, String> ruleParam); void releaseResourfes();  }