Package com.sun.xml.ws.test.model
Class Script
- java.lang.Object
-
- com.sun.xml.ws.test.model.Script
-
- Direct Known Subclasses:
Script.File,Script.Inline
public abstract class Script extends Object
Bean shell script.- Author:
- Kohsuke Kawaguchi
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classScript.FileScriptwhere the script is stored in a file.static classScript.InlineScriptwhere the script is given as literal text.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract StringgetName()Name of the script.StringgetSource()abstract Readerread()Returns a new reader that reads the script.
-
-
-
Method Detail
-
getName
public abstract String getName()
Name of the script. This is intended to allow humans to find out which script this is.
-
read
public abstract Reader read() throws IOException
Returns a new reader that reads the script.- Throws:
IOException
-
getSource
public String getSource()
-
-