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