org.jenkinsci.jruby
Class RubyBooleanConverter

java.lang.Object
  extended by org.jenkinsci.jruby.AbstractRubyPrimitiveValueConverter<org.jruby.RubyBoolean>
      extended by org.jenkinsci.jruby.RubyBooleanConverter
All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter, com.thoughtworks.xstream.converters.ConverterMatcher

public class RubyBooleanConverter
extends AbstractRubyPrimitiveValueConverter<org.jruby.RubyBoolean>

Author:
Kohsuke Kawaguchi

Field Summary
 
Fields inherited from class org.jenkinsci.jruby.AbstractRubyPrimitiveValueConverter
resolver, type
 
Constructor Summary
RubyBooleanConverter(RubyRuntimeResolver resolver)
           
 
Method Summary
protected  org.jruby.RubyBoolean fromString(org.jruby.Ruby runtime, String value)
           
protected  String toString(org.jruby.RubyBoolean obj)
           
 
Methods inherited from class org.jenkinsci.jruby.AbstractRubyPrimitiveValueConverter
canConvert, marshal, unmarshal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RubyBooleanConverter

public RubyBooleanConverter(RubyRuntimeResolver resolver)
Method Detail

fromString

protected org.jruby.RubyBoolean fromString(org.jruby.Ruby runtime,
                                           String value)
Specified by:
fromString in class AbstractRubyPrimitiveValueConverter<org.jruby.RubyBoolean>

toString

protected String toString(org.jruby.RubyBoolean obj)
Specified by:
toString in class AbstractRubyPrimitiveValueConverter<org.jruby.RubyBoolean>


Copyright © 2004-2011. All Rights Reserved.