hudson.plugins.build_timeout
クラス BuildTimeOutUtility
java.lang.Object
hudson.plugins.build_timeout.BuildTimeOutUtility
public class BuildTimeOutUtility
- extends Object
メソッドの概要 |
static
|
bindJSONWithDescriptor(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData,
String fieldName,
Class<T> expectedClazz)
Construct an object from parameters input by a user. |
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BuildTimeOutUtility
public BuildTimeOutUtility()
bindJSONWithDescriptor
public static <T> T bindJSONWithDescriptor(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData,
String fieldName,
Class<T> expectedClazz)
throws hudson.model.Descriptor.FormException
- Construct an object from parameters input by a user.
Not using
DataBoundConstructor
,
but using Descriptor.newInstance(StaplerRequest, JSONObject)
.
- パラメータ:
req
- formData
- fieldName
-
- 戻り値:
-
- 例外:
hudson.model.Descriptor.FormException
Copyright © 2004-2015. All Rights Reserved.