T
- The concrete Diagnostic
classpublic abstract class DiagnosticDescriptor<T extends Diagnostic> extends hudson.model.Descriptor<Diagnostic>
Diagnostic
Constructor and Description |
---|
DiagnosticDescriptor()
Creates the descriptor
|
DiagnosticDescriptor(Class<? extends Diagnostic> clazz)
Creates the descriptor specifying the concrete
Diagnostic class |
Modifier and Type | Method and Description |
---|---|
int |
getInitialDelay()
Gets the default initial delay
|
int |
getPeriod()
Gets the default period
|
int |
getRuns()
Gets the default number of runs
|
boolean |
isEnabled()
Returns
true if the current authentication can include this diagnostic. |
boolean |
isSelectedByDefault()
Indicates if this Diagnostic should be selected by default when a user is going to create a Diagnostic Session.
|
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public DiagnosticDescriptor()
public DiagnosticDescriptor(Class<? extends Diagnostic> clazz)
Diagnostic
classclazz
- the Diagnostic
classpublic boolean isSelectedByDefault()
true
if should be selected by defaultpublic boolean isEnabled()
true
if the current authentication can include this diagnostic. It also allows an implementer to
enable or disable it self depending on any given conditiontrue
if the diagnostic should be enabled.public int getInitialDelay()
Diagnostic.initialDelay
public int getRuns()
Diagnostic.runs
public int getPeriod()
Diagnostic.period
Copyright © 2016–2017. All rights reserved.