org.jenkinsci.jruby
Class RubyClassConverter

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

public class RubyClassConverter
extends AbstractRubyPrimitiveValueConverter<org.jruby.RubyClass>

Author:
Kohsuke Kawaguchi

Field Summary
 
Fields inherited from class org.jenkinsci.jruby.AbstractRubyPrimitiveValueConverter
resolver, type
 
Constructor Summary
RubyClassConverter(RubyRuntimeResolver resolver)
           
 
Method Summary
 org.jruby.RubyClass fromString(org.jruby.Ruby runtime, String str)
           
protected  String toString(org.jruby.RubyClass 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

RubyClassConverter

public RubyClassConverter(RubyRuntimeResolver resolver)
Method Detail

toString

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

fromString

public org.jruby.RubyClass fromString(org.jruby.Ruby runtime,
                                      String str)
Specified by:
fromString in class AbstractRubyPrimitiveValueConverter<org.jruby.RubyClass>


Copyright © 2004-2011. All Rights Reserved.