Package org.compiere.sla
Class SLACriteria
- java.lang.Object
-
- org.compiere.sla.SLACriteria
-
- Direct Known Subclasses:
DeliveryAccuracy
public abstract class SLACriteria extends Object
Service Level Agreement Criteria- Version:
- $Id: SLACriteria.java,v 1.3 2006/07/30 00:51:06 jjanke Exp $
- Author:
- Jorg Janke
-
-
Constructor Summary
Constructors Constructor Description SLACriteria()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract BigDecimal
calculateMeasure(MSLAGoal goal)
Calculate Goal Actual from unprocessed Measures of the Goalvoid
calculateMeasures(MSLACriteria criteria)
Calculate Goal Actual from unprocessed Measures of the Goalint
createMeasures(MSLACriteria criteria)
Create new Measures for the Criteriaabstract int
createMeasures(MSLAGoal goal)
Create new Measures for the Goal
-
-
-
Method Detail
-
createMeasures
public abstract int createMeasures(MSLAGoal goal)
Create new Measures for the Goal- Parameters:
goal
- the goal- Returns:
- number created
-
calculateMeasure
public abstract BigDecimal calculateMeasure(MSLAGoal goal)
Calculate Goal Actual from unprocessed Measures of the Goal- Parameters:
goal
- the goal- Returns:
- new Actual Measure
-
createMeasures
public int createMeasures(MSLACriteria criteria)
Create new Measures for the Criteria- Parameters:
criteria
- the criteria- Returns:
- measures created
-
calculateMeasures
public void calculateMeasures(MSLACriteria criteria)
Calculate Goal Actual from unprocessed Measures of the Goal- Parameters:
criteria
- SLA criteria
-
-