Package jenkins.model.item_category
Class Categories
- java.lang.Object
-
- jenkins.model.item_category.Categories
-
- All Implemented Interfaces:
Serializable
,org.kohsuke.stapler.HttpResponse
@ExportedBean @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class Categories extends Object implements org.kohsuke.stapler.HttpResponse, Serializable
It is a logic representation of a set ofCategory
. This class is not thread-safe.- Since:
- 2.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Categories()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
generateResponse(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, Object node)
Category
getItem(String id)
List<Category>
getItems()
-
-
-
Method Detail
-
generateResponse
public void generateResponse(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp, Object node) throws IOException, javax.servlet.ServletException
- Specified by:
generateResponse
in interfaceorg.kohsuke.stapler.HttpResponse
- Throws:
IOException
javax.servlet.ServletException
-
-