Class LockedResourcesBuildAction.ResourcePOJO
- java.lang.Object
-
- org.jenkins.plugins.lockableresources.actions.LockedResourcesBuildAction.ResourcePOJO
-
- Enclosing class:
- LockedResourcesBuildAction
public static class LockedResourcesBuildAction.ResourcePOJO extends Object
-
-
Constructor Summary
Constructors Constructor Description ResourcePOJO(String name, String description)
ResourcePOJO(LockableResource r)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCounter()
Return the counter, how many was / is the resource used in the build.String
getDescription()
String
getName()
void
inc()
Increment counter
-
-
-
Constructor Detail
-
ResourcePOJO
public ResourcePOJO(LockableResource r)
-
-
Method Detail
-
getName
public String getName()
-
getDescription
public String getDescription()
-
getCounter
public int getCounter()
Return the counter, how many was / is the resource used in the build. Example: you can use the lock() function in parallel stages for the same resource.
-
inc
public void inc()
Increment counter
-
-