Package io.jenkins.plugins.dorametrics
Class DoraGlobalConfiguration
java.lang.Object
hudson.model.Descriptor<GlobalConfiguration>
jenkins.model.GlobalConfiguration
io.jenkins.plugins.dorametrics.DoraGlobalConfiguration
- All Implemented Interfaces:
ExtensionPoint,Describable<GlobalConfiguration>,Saveable,Loadable,OnMaster
Global configuration for the Pipeline DORA Metrics plugin.
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.SelfNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanconfigure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject json) doCheckCfrElitePercent(String value) doCheckCfrHighPercent(String value) doCheckCfrMediumPercent(String value) doCheckDashboardTopN(String value) doCheckExportIntervalHours(String value) doCheckRetentionDays(String value) static DoraGlobalConfigurationget()doubledoubledoubleintdoubledoubledoubleintlonglonglonglonglonglongintbooleanbooleanvoidsetCfrElitePercent(double v) voidsetCfrHighPercent(double v) voidsetCfrMediumPercent(double v) voidsetDashboardTopN(int v) voidsetDfEliteThreshold(double v) voidsetDfHighThreshold(double v) voidsetDfMediumThreshold(double v) voidvoidsetExportEnabled(boolean v) voidsetExportIntervalHours(int v) voidvoidsetLtEliteSeconds(long v) voidsetLtHighSeconds(long v) voidsetLtMediumSeconds(long v) voidsetMttrEliteSeconds(long v) voidsetMttrHighSeconds(long v) voidsetMttrMediumSeconds(long v) voidvoidvoidvoidvoidsetRetentionDays(int v) voidsetTrackAllBranches(boolean v) booleanshouldTrackJob(String fullJobName) Check if a job should be tracked based on all filter criteria.Methods inherited from class jenkins.model.GlobalConfiguration
all, configure, getDescriptor, getGlobalConfigPageMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DoraGlobalConfiguration
public DoraGlobalConfiguration()
-
-
Method Details
-
get
-
getExportStorageDescriptors
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject json) throws Descriptor.FormException - Overrides:
configurein classGlobalConfiguration- Throws:
Descriptor.FormException
-
doCheckRetentionDays
-
doCheckDashboardTopN
-
doCheckExportIntervalHours
-
doCheckCfrElitePercent
-
doCheckCfrHighPercent
-
doCheckCfrMediumPercent
-
shouldTrackJob
Check if a job should be tracked based on all filter criteria. Uses pre-compiled patterns for performance. -
getProductionJobPattern
-
setProductionJobPattern
-
getExcludedJobPattern
-
setExcludedJobPattern
-
getProductionBranchPattern
-
setProductionBranchPattern
-
getProductionFolders
-
setProductionFolders
-
getProductionJobLabel
-
setProductionJobLabel
-
isTrackAllBranches
public boolean isTrackAllBranches() -
setTrackAllBranches
public void setTrackAllBranches(boolean v) -
getRetentionDays
public int getRetentionDays() -
setRetentionDays
public void setRetentionDays(int v) -
getDashboardTopN
public int getDashboardTopN() -
setDashboardTopN
public void setDashboardTopN(int v) -
isExportEnabled
public boolean isExportEnabled() -
setExportEnabled
public void setExportEnabled(boolean v) -
getExportIntervalHours
public int getExportIntervalHours() -
setExportIntervalHours
public void setExportIntervalHours(int v) -
getExportStorage
-
setExportStorage
-
getDfEliteThreshold
public double getDfEliteThreshold() -
setDfEliteThreshold
public void setDfEliteThreshold(double v) -
getDfHighThreshold
public double getDfHighThreshold() -
setDfHighThreshold
public void setDfHighThreshold(double v) -
getDfMediumThreshold
public double getDfMediumThreshold() -
setDfMediumThreshold
public void setDfMediumThreshold(double v) -
getLtEliteSeconds
public long getLtEliteSeconds() -
setLtEliteSeconds
public void setLtEliteSeconds(long v) -
getLtHighSeconds
public long getLtHighSeconds() -
setLtHighSeconds
public void setLtHighSeconds(long v) -
getLtMediumSeconds
public long getLtMediumSeconds() -
setLtMediumSeconds
public void setLtMediumSeconds(long v) -
getMttrEliteSeconds
public long getMttrEliteSeconds() -
setMttrEliteSeconds
public void setMttrEliteSeconds(long v) -
getMttrHighSeconds
public long getMttrHighSeconds() -
setMttrHighSeconds
public void setMttrHighSeconds(long v) -
getMttrMediumSeconds
public long getMttrMediumSeconds() -
setMttrMediumSeconds
public void setMttrMediumSeconds(long v) -
getCfrElitePercent
public double getCfrElitePercent() -
setCfrElitePercent
public void setCfrElitePercent(double v) -
getCfrHighPercent
public double getCfrHighPercent() -
setCfrHighPercent
public void setCfrHighPercent(double v) -
getCfrMediumPercent
public double getCfrMediumPercent() -
setCfrMediumPercent
public void setCfrMediumPercent(double v)
-