public class CDOOptimisationPlanHandler extends Object
| Constructor and Description |
|---|
CDOOptimisationPlanHandler() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
allPlansFinished(CactosCdoSession cactosCdoSession)
Checks if all plans stored in CDO repository are finished
|
static boolean |
allPlansFinishedPlacement(CactosCdoSession cactosCdoSession)
Checks if all plans stored in CDO repository are finished
|
static eu.cactosfp7.optimisationplan.OptimisationPlan |
getFirstReadyOptimisatioPlan(CactosCdoSession cactosCdoSession) |
static eu.cactosfp7.optimisationplan.OptimisationPlan |
getFirstReadyOptimisatioPlan(org.eclipse.emf.cdo.view.CDOView view,
String resourcePath) |
static eu.cactosfp7.infrastructuremodels.logicaldc.core.LogicalDCModel |
loadLogicalDc(org.eclipse.emf.cdo.view.CDOView view,
String resourcePath)
Loads logical DC model from CDO repository
|
static eu.cactosfp7.infrastructuremodels.load.logical.LogicalLoadModel |
loadLogicalLoad(org.eclipse.emf.cdo.view.CDOView view,
String resourcePath)
Loads logical load model from CDO repository
|
static eu.cactosfp7.infrastructuremodels.physicaldc.core.PhysicalDCModel |
loadPhysicalDc(org.eclipse.emf.cdo.view.CDOView view,
String resourcePath)
Loads physical DC model from CDO repository
|
static eu.cactosfp7.infrastructuremodels.load.physical.PhysicalLoadModel |
loadPhysicalLoad(org.eclipse.emf.cdo.view.CDOView view,
String resourcePath)
Loads physical load model from CDO repository
|
static eu.cactosfp7.optimisationplan.OptimisationPlan |
mergeOptimisationPlans(eu.cactosfp7.optimisationplan.OptimisationPlan planToExtend,
eu.cactosfp7.optimisationplan.OptimisationPlan planToAdd) |
static eu.cactosfp7.optimisationplan.OptimisationPlan |
mergeParallelOptimisationPlans(eu.cactosfp7.optimisationplan.OptimisationPlan planToExtend,
eu.cactosfp7.optimisationplan.OptimisationPlan planToAdd) |
static boolean |
optimisatioPlanAlreadyExists(org.eclipse.emf.cdo.view.CDOView view,
String resourcePath,
String planId) |
static void |
saveOptimisationPlan(eu.cactosfp7.optimisationplan.OptimisationPlan plan,
org.eclipse.emf.cdo.transaction.CDOTransaction transaction,
String path)
Saves Optimisation Plan
|
public static eu.cactosfp7.infrastructuremodels.physicaldc.core.PhysicalDCModel loadPhysicalDc(org.eclipse.emf.cdo.view.CDOView view,
String resourcePath)
session - CDO sessionresourcePath - Path to the resourcepublic static eu.cactosfp7.infrastructuremodels.logicaldc.core.LogicalDCModel loadLogicalDc(org.eclipse.emf.cdo.view.CDOView view,
String resourcePath)
session - CDO sessionresourcePath - Path to the resourcepublic static eu.cactosfp7.infrastructuremodels.load.physical.PhysicalLoadModel loadPhysicalLoad(org.eclipse.emf.cdo.view.CDOView view,
String resourcePath)
session - CDO sessionresourcePath - Path to the resourcepublic static eu.cactosfp7.infrastructuremodels.load.logical.LogicalLoadModel loadLogicalLoad(org.eclipse.emf.cdo.view.CDOView view,
String resourcePath)
session - CDO sessionresourcePath - Path to the resourcepublic static boolean allPlansFinished(CactosCdoSession cactosCdoSession)
session - CDO sessionresourcePath - Path to the resourcepublic static boolean optimisatioPlanAlreadyExists(org.eclipse.emf.cdo.view.CDOView view,
String resourcePath,
String planId)
public static eu.cactosfp7.optimisationplan.OptimisationPlan getFirstReadyOptimisatioPlan(CactosCdoSession cactosCdoSession)
public static eu.cactosfp7.optimisationplan.OptimisationPlan getFirstReadyOptimisatioPlan(org.eclipse.emf.cdo.view.CDOView view,
String resourcePath)
public static boolean allPlansFinishedPlacement(CactosCdoSession cactosCdoSession)
session - CDO sessionresourcePath - Path to the resourcepublic static void saveOptimisationPlan(eu.cactosfp7.optimisationplan.OptimisationPlan plan,
org.eclipse.emf.cdo.transaction.CDOTransaction transaction,
String path)
plan - Optimisation Plan to savetransaction2 - CDO sessionpath - Path to the resourcepublic static eu.cactosfp7.optimisationplan.OptimisationPlan mergeParallelOptimisationPlans(eu.cactosfp7.optimisationplan.OptimisationPlan planToExtend,
eu.cactosfp7.optimisationplan.OptimisationPlan planToAdd)
public static eu.cactosfp7.optimisationplan.OptimisationPlan mergeOptimisationPlans(eu.cactosfp7.optimisationplan.OptimisationPlan planToExtend,
eu.cactosfp7.optimisationplan.OptimisationPlan planToAdd)