com.x8ing.mc.bp
Class BusinessContext
java.lang.Object
com.x8ing.mc.bp.BusinessContext
- All Implemented Interfaces:
- StateContext
public class BusinessContext
- extends java.lang.Object
- implements StateContext
- Author:
- Patrick Heusser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BusinessContext
public BusinessContext(Configuration configuration)
transferQueuedBugsToDevelopBugList
public void transferQueuedBugsToDevelopBugList()
calculateTotalProcessLossOfAllBugsEverFound
public double calculateTotalProcessLossOfAllBugsEverFound()
calculateTotalProcessLossOfAllBugsNotDeployedYet
public double calculateTotalProcessLossOfAllBugsNotDeployedYet()
- Returns:
- the total process losscaused by all bugs that could be fixed but are not yet.
getCurrentProcessGain
public double getCurrentProcessGain()
- what is the current value of the process.
getBalanceSheet
public BalanceSheet getBalanceSheet()
- Returns:
- Returns the balanceSheet.
getCurrentDate
public java.util.Calendar getCurrentDate()
- Returns:
- Returns the currentDate.
setCurrentDate
public void setCurrentDate(java.util.GregorianCalendar currentDate)
- Parameters:
currentDate
- The currentDate to set.
isProductionSystemRunning
public boolean isProductionSystemRunning()
- Returns:
- Returns the productionSystemRunning.
getLogBook
public LogBook getLogBook()
- Returns:
- Returns the logBook.
setProductionSystemRunning
public void setProductionSystemRunning(boolean productionSystemRunning)
getBugs
public BugList getBugs()
setBugs
public void setBugs(BugList bugs)
isDeployedWithSucess
public boolean isDeployedWithSucess()
setDeployedWithSucess
public void setDeployedWithSucess(boolean deployedWithSucess)
isDevelopProcessBusy
public boolean isDevelopProcessBusy()
setDevelopProcessBusy
public void setDevelopProcessBusy(boolean developProcessBusy)
getQueuedBugs
public java.util.List getQueuedBugs()
setQueuedBugs
public void setQueuedBugs(java.util.List queuedBugs)
getProcessLossCausedByBugsCurrentValue
public double getProcessLossCausedByBugsCurrentValue()
setProcessLossCausedByBugsCurrentValue
public void setProcessLossCausedByBugsCurrentValue(double processLossCausedByBugsCurrentValue)
getConfiguration
public Configuration getConfiguration()
isNoMoreDiscoveringOfBugs
public boolean isNoMoreDiscoveringOfBugs()
setNoMoreDiscoveringOfBugs
public void setNoMoreDiscoveringOfBugs(boolean noMoreDiscoveringOfBugs)
by Patrick Heusser