Class AuthorizeProjectUtil
- java.lang.Object
-
- org.jenkinsci.plugins.authorizeproject.AuthorizeProjectUtil
-
public class AuthorizeProjectUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description AuthorizeProjectUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends Describable<?>>
TbindJSONWithDescriptor(org.kohsuke.stapler.StaplerRequest 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)
-
-
-
Method Detail
-
bindJSONWithDescriptor
public static <T extends Describable<?>> T bindJSONWithDescriptor(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData, String fieldName, Class<T> clazz) throws Descriptor.FormException
Create a newDescribable
object from user inputs.- Throws:
Descriptor.FormException
-
-