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 java.lang.ObjectBean 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 java.lang.StringgetName()Name of the script.java.lang.StringgetSource()abstract java.io.Readerread()Returns a new reader that reads the script.
-
-
-
Method Detail
-
getName
public abstract java.lang.String getName()
Name of the script. This is intended to allow humans to find out which script this is.
-
read
public abstract java.io.Reader read() throws java.io.IOExceptionReturns a new reader that reads the script.- Throws:
java.io.IOException
-
getSource
public java.lang.String getSource()
-
-