public class AuthorizeProjectUtil extends Object
| Constructor and Description |
|---|
AuthorizeProjectUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Describable<?>> |
bindJSONWithDescriptor(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData,
String fieldName,
Class<T> clazz)
Create a new
Describable object from user inputs. |
static boolean |
userIdEquals(String a,
String b) |
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
Describable object from user inputs.req - formData - fieldName - clazz - Descriptor.FormExceptionpublic static boolean userIdEquals(@CheckForNull String a, @CheckForNull String b)
Copyright © 2016–2021. All rights reserved.