Class LockedResourcesBuildAction
java.lang.Object
org.jenkins.plugins.lockableresources.actions.LockedResourcesBuildAction
- All Implemented Interfaces:
Action
,ModelObject
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public class LockedResourcesBuildAction
extends Object
implements Action
BuildAction for lockable resources.
Shows usage of resources in the build page.
url: jobUrl/buildNr/locked-resources/
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
void
void
addUsedResources
(List<String> resourceNames) static LockedResourcesBuildAction
findAndInitAction
(Run<?, ?> build) void
removeUsedResources
(List<String> resourceNames)
-
Constructor Details
-
LockedResourcesBuildAction
public LockedResourcesBuildAction()
-
-
Method Details
-
getIconFileName
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
- Specified by:
getUrlName
in interfaceAction
-
getCurrentUsedResourceNames
-
addUsedResources
-
removeUsedResources
-
findAndInitAction
-
addLog
-
addLog
-
addLog
-
getReadOnlyLogs
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public List<LockedResourcesBuildAction.LogEntry> getReadOnlyLogs()
-