Class ScriptWrapper

java.lang.Object
com.adaptris.jruby.ScriptWrapper

public class ScriptWrapper extends Object
Wraps a jruby script location.
  • Constructor Details

    • ScriptWrapper

      public ScriptWrapper()
    • ScriptWrapper

      public ScriptWrapper(String location)
    • ScriptWrapper

      public ScriptWrapper(org.jruby.embed.PathType pathtype, String location)
  • Method Details

    • getLocation

      public String getLocation()
      Returns:
      the location
    • setLocation

      public void setLocation(String location)
      Parameters:
      location - the location to set
    • getPathType

      public org.jruby.embed.PathType getPathType()
      Returns:
      the pathType
    • setPathType

      public void setPathType(org.jruby.embed.PathType type)
      Parameters:
      type - the pathType to set, defaults to PathType.ABSOLUTE if not specified.
    • toString

      public String toString()
      Overrides:
      toString in class Object