Class SecretGuardRootAction
java.lang.Object
io.jenkins.plugins.secretguard.action.SecretGuardRootAction
- All Implemented Interfaces:
ExtensionPoint,Action,ModelObject,RootAction,ScanTimeDisplaySupport,SeverityBadgeSupport,org.kohsuke.stapler.StaplerProxy
@Extension
public class SecretGuardRootAction
extends Object
implements RootAction, SeverityBadgeSupport, ScanTimeDisplaySupport, org.kohsuke.stapler.StaplerProxy
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from interface io.jenkins.plugins.secretguard.action.ScanTimeDisplaySupport
ABSOLUTE_TIME_FORMATTER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanorg.kohsuke.stapler.HttpResponseorg.kohsuke.stapler.HttpResponseorg.kohsuke.stapler.HttpResponsedoScanAll(org.kohsuke.stapler.StaplerRequest2 request) getBlockedBadgeClass(boolean blocked) getBlockedBadgeLabel(boolean blocked) longgetDisplayTargetId(SecretScanResult result) longgetFilterButtonClass(String filterValue) getFilterButtonLabel(String filterValue) intgetFilterUrl(String filterValue) longgetJobSecretGuardUrl(SecretScanResult result) longgetResultRowClass(SecretScanResult result) intlonglongbooleanbooleanbooleanbooleanisActiveFilter(String filterValue) booleanbooleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.RootAction
getBadge, isPrimaryActionMethods inherited from interface io.jenkins.plugins.secretguard.action.ScanTimeDisplaySupport
getDisplayTime, getDisplayTimeTitleMethods inherited from interface io.jenkins.plugins.secretguard.action.SeverityBadgeSupport
getSeverityBadgeClass, getSeverityBadgeLabel
-
Constructor Details
-
SecretGuardRootAction
public SecretGuardRootAction()
-
-
Method Details
-
getIconFileName
- Specified by:
getIconFileNamein interfaceAction
-
getDisplayName
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getUrlName
- Specified by:
getUrlNamein interfaceAction
-
getTarget
- Specified by:
getTargetin interfaceorg.kohsuke.stapler.StaplerProxy
-
canScanAllNow
public boolean canScanAllNow() -
getScanAllStatus
-
hasScanAllStatus
public boolean hasScanAllStatus() -
isScanAllRunning
public boolean isScanAllRunning() -
canCancelScanAll
public boolean canCancelScanAll() -
canDismissScanAllStatus
public boolean canDismissScanAllStatus() -
getScanAllPrimaryButtonLabel
-
isScanAllDetailsOpen
public boolean isScanAllDetailsOpen() -
getScanAllSummaryText
-
getScanAllDurationText
-
getScanAllScopeText
-
getAvailableJobTypeOptions
-
getScanAllStateBadgeClass
-
getResults
-
getFilteredResults
-
getScannedJobCount
public int getScannedJobCount() -
getJobsWithFindingsCount
public long getJobsWithFindingsCount() -
getBlockedJobCount
public long getBlockedJobCount() -
getHighRiskJobCount
public long getHighRiskJobCount() -
getTotalFindingsCount
public long getTotalFindingsCount() -
getUnexemptedHighCount
public long getUnexemptedHighCount() -
getExemptedFindingsCount
-
hasResults
public boolean hasResults() -
hasFilteredResults
public boolean hasFilteredResults() -
getEmptyResultsMessage
-
getFilterUrl
-
isActiveFilter
-
getFilterButtonClass
-
getFilterButtonLabel
-
getFilteredResultCount
public int getFilteredResultCount() -
getHighFindingsCardClass
-
getBlockedJobsCardClass
-
getBlockedBadgeClass
-
getBlockedBadgeLabel
-
getDisplayTargetId
-
getResultRowClass
-
doScanAll
public org.kohsuke.stapler.HttpResponse doScanAll(org.kohsuke.stapler.StaplerRequest2 request) -
doCancelScanAll
public org.kohsuke.stapler.HttpResponse doCancelScanAll() -
doDismissScanAllStatus
public org.kohsuke.stapler.HttpResponse doDismissScanAllStatus() -
getJobSecretGuardUrl
-