@DataBoundSetter
public void setValue(String value) {
  this.value = value;
}

@DataBoundSetter
public void setValue(Integer value) {
  this.value = value;
}


java.lang.ClassCastException: class 
org.jenkinsci.plugins.pipelinestatus.SetStatusVariableStep.setValue() expects 
class java.lang.String but received class java.lang.Integer


On Friday, July 29, 2016 at 8:11:19 PM UTC+9:30, David van Laatum wrote:
>
> it didnt work....
>
> On Wednesday, July 27, 2016 at 5:22:40 AM UTC+9:30, Jesse Glick wrote:
>>
>> On Sat, Jul 23, 2016 at 9:51 PM, David van Laatum <[email protected]> 
>> wrote: 
>> > I tried using overloading of methods to 
>> > accept a select list of types 
>>
>> This is the only supported option. 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/1faa6711-0641-4520-ae7e-64bfe05fce68%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to