private object UpdateALMType(eALMType almType) { ALMCore almCore = null; ALMConfig CurrentAlmConfigurations = ALMCore.GetCurrentAlmConfig(almType); ALMCore.DefaultAlmConfig = CurrentAlmConfigurations; //Set ALMRepo switch (almType) { case eALMType.Jira: almCore = new JiraCore(); break; case eALMType.ZephyrEnterprise: almCore = new ZephyrEntCore(); break; case eALMType.Octane: almCore = new OctaneCore(); break; default: Reporter.ToLog(eLogLevel.ERROR, $"Invalid ALM Type - {almType}"); break; } return(almCore); }
public OctaneRepository() { octaneCore = new OctaneCore(); }
public OctaneRepository(ALMCore almCore) { octaneCore = (OctaneCore)almCore; }