|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.millscript.millscript.functions.Function
org.millscript.millscript.functions.AbstractOutputFunction
public abstract class AbstractOutputFunction
This class provides the basic methods required for a function generating output. These methods are geared towards obtaining and creating directories in the script output and determining the current working directory.
| Field Summary | |
|---|---|
protected Configuration |
config
The configuration to use for this function. |
| Constructor Summary | |
|---|---|
protected |
AbstractOutputFunction(Package pack)
Constructs a new abstract output function for the specified package. |
| Method Summary | |
|---|---|
org.millscript.commons.vfs.VFolder |
getCurrentWorkingFolder()
Returns a VFolder for the current working output folder, based on the value of the folder variable. |
org.millscript.commons.util.IList |
getCurrentWorkingFolderList()
Returns the current working folder list. |
org.millscript.commons.vfs.VFolder |
getWorkingFolder(org.millscript.commons.util.IList folderList)
Returns a VFolder for the specified current working output folder list. |
org.millscript.commons.vfs.VFolder |
makeCurrentWorkingFolder()
Makes the current working folder, returning a VFolder for the made folder. |
| Methods inherited from class org.millscript.millscript.functions.Function |
|---|
apply, applyUpdater, checkNargs, checkNargsGT, checkUNargs, getName, modName, reportNargsError, reportNargsGTError, setName, toString, tryClone |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final Configuration config
| Constructor Detail |
|---|
protected AbstractOutputFunction(Package pack)
pack - the package this output function is defined in| Method Detail |
|---|
public final org.millscript.commons.vfs.VFolder getCurrentWorkingFolder()
folder variable.
public final org.millscript.commons.util.IList getCurrentWorkingFolderList()
public final org.millscript.commons.vfs.VFolder getWorkingFolder(org.millscript.commons.util.IList folderList)
folderList - a List specifying the current working folder
public final org.millscript.commons.vfs.VFolder makeCurrentWorkingFolder()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||