edu.ucla.util.code
Class JDKToolScript
Object
JDKToolScript
- All Implemented Interfaces:
- Script
- Direct Known Subclasses:
- JDKCompile, JDKRun
public abstract class JDKToolScript
- extends Object
- implements Script
- Since:
- 032405
- Author:
- Keith Cascio
STR_CHMOD
public static final String STR_CHMOD
- See Also:
- Constant Field Values
STR_CHMOD_ARG1
public static final String STR_CHMOD_ARG1
- See Also:
- Constant Field Values
JDKToolScript
public JDKToolScript()
write
public void write(ScriptGenius genius,
SystemSoftwareSource source,
PrintStream out)
throws Exception
- Specified by:
write
in interface Script
- Throws:
Exception
write
public void write(ScriptGenius genius,
SystemSoftwareSource source,
File ofile)
throws Exception
- Specified by:
write
in interface Script
- Throws:
Exception
exec
public ScriptExecution exec(String[] args,
File dir,
ScriptGenius genius,
SystemSoftwareSource source)
throws Exception
- Specified by:
exec
in interface Script
- Throws:
Exception
getCommand
public String getCommand(ScriptGenius genius,
SystemSoftwareSource source)
throws Exception
- Throws:
Exception
getCommandArray
public abstract String[] getCommandArray(ScriptGenius genius,
SystemSoftwareSource source)
throws Exception
- Throws:
Exception
flatten
public static String flatten(String[] args)
isResolved
public boolean isResolved(SystemSoftwareSource source)
throws Exception
- Specified by:
isResolved
in interface Script
- Throws:
Exception
- Since:
- 20050331
isResolved
public boolean isResolved()
- Specified by:
isResolved
in interface Script
- Since:
- 20091219
getDependencies
public SoftwareEntity[] getDependencies()
- Specified by:
getDependencies
in interface Script
toString
public String toString()
- Overrides:
toString
in class Object
Copyright 2010 UCLA Automated Reasoning Group