Package com.adaptris.jruby
Class ScriptWrapper
java.lang.Object
com.adaptris.jruby.ScriptWrapper
Wraps a jruby script location.
-
Constructor Summary
ConstructorDescriptionScriptWrapper
(String location) ScriptWrapper
(org.jruby.embed.PathType pathtype, String location) -
Method Summary
Modifier and TypeMethodDescriptionorg.jruby.embed.PathType
void
setLocation
(String location) void
setPathType
(org.jruby.embed.PathType type) toString()
-
Constructor Details
-
ScriptWrapper
public ScriptWrapper() -
ScriptWrapper
-
ScriptWrapper
-
-
Method Details
-
getLocation
- Returns:
- the location
-
setLocation
- 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 toPathType.ABSOLUTE
if not specified.
-
toString
-