Package hudson.util
Class FormValidation.CheckMethod
- java.lang.Object
-
- hudson.util.FormValidation.CheckMethod
-
- Enclosing class:
- FormValidation
public static class FormValidation.CheckMethod extends Object
Builds up the check URL for the client-side JavaScript to call back.
-
-
Constructor Summary
Constructors Constructor Description CheckMethod(Descriptor descriptor, String fieldName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDependsOn()
String
toCheckUrl()
Obtains the 1.526-compatible single string representation.String
toStemUrl()
Returns the URL that the JavaScript should hit to perform form validation, except the query string portion (which is built on the client side.)
-
-
-
Constructor Detail
-
CheckMethod
public CheckMethod(Descriptor descriptor, String fieldName)
-
-
Method Detail
-
toCheckUrl
public String toCheckUrl()
Obtains the 1.526-compatible single string representation. This method computes JavaScript expression, which evaluates to the URL that the client should request the validation to. A modern version depends ontoStemUrl()
andgetDependsOn()
-
toStemUrl
public String toStemUrl()
Returns the URL that the JavaScript should hit to perform form validation, except the query string portion (which is built on the client side.)
-
getDependsOn
public String getDependsOn()
-
-