Class LockableResourcesRootAction.LockableResourcesLabel
java.lang.Object
org.jenkins.plugins.lockableresources.actions.LockableResourcesRootAction.LockableResourcesLabel
- Enclosing class:
LockableResourcesRootAction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintLikegetFree(), but a disabled resource is not counted.intLikegetPercentage(), but a disabled resource is not counted as free.intgetFree()getName()intvoidupdate(LockableResource resource)
-
Constructor Details
-
LockableResourcesLabel
-
-
Method Details
-
update
-
getName
-
getFree
public int getFree() -
getAssigned
public int getAssigned() -
getPercentage
public int getPercentage() -
getAvailable
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public int getAvailable()LikegetFree(), but a disabled resource is not counted. Used by the labels table. -
getAvailablePercentage
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public int getAvailablePercentage()LikegetPercentage(), but a disabled resource is not counted as free.
-