Class AuthorizeProjectUtil
java.lang.Object
org.jenkinsci.plugins.authorizeproject.AuthorizeProjectUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Describable<?>>
TbindJSONWithDescriptor
(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData, String fieldName, Class<T> clazz) Create a newDescribable
object from user inputs.static boolean
userIdEquals
(String a, String b)
-
Constructor Details
-
AuthorizeProjectUtil
public AuthorizeProjectUtil()
-
-
Method Details
-
bindJSONWithDescriptor
public static <T extends Describable<?>> T bindJSONWithDescriptor(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData, String fieldName, Class<T> clazz) throws Descriptor.FormException Create a newDescribable
object from user inputs.- Throws:
Descriptor.FormException
-
userIdEquals
-