org.gwe.persistence.model.order
Class OSCommandDaemonRequest<DRP_TYPE extends java.io.Serializable>
java.lang.Object
org.gwe.persistence.model.order.DaemonRequest<DRP_TYPE>
org.gwe.persistence.model.order.OSCommandDaemonRequest<DRP_TYPE>
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- LDDMMDaemonRequest
public class OSCommandDaemonRequest<DRP_TYPE extends java.io.Serializable>
- extends DaemonRequest<DRP_TYPE>
- Since:
- Sep 27, 2007
- Author:
- Marco Ruiz
- See Also:
- Serialized Form
Method Summary |
protected java.lang.String |
createFile(java.lang.String fullFileName,
java.lang.String contents)
|
protected java.lang.String |
createFile(java.lang.String root,
java.lang.String fileName,
java.lang.String contents)
|
protected java.lang.String |
createFileUnderWorkspace(java.lang.String fileName,
java.lang.String contents)
|
protected java.util.Map<java.lang.String,java.lang.String> |
getEnvironment()
|
static void |
main(java.lang.String[] args)
|
java.io.Serializable |
process(java.lang.String allocWorkspace)
|
void |
setOSCommand(java.lang.String localizedCmd)
|
protected void |
setup()
|
void |
setWorkspacePath(java.lang.String workspacePath)
|
protected void |
tearDown()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
localizedCmd
protected java.lang.String localizedCmd
workspacePath
protected java.lang.String workspacePath
OSCommandDaemonRequest
public OSCommandDaemonRequest()
setOSCommand
public void setOSCommand(java.lang.String localizedCmd)
setWorkspacePath
public void setWorkspacePath(java.lang.String workspacePath)
process
public final java.io.Serializable process(java.lang.String allocWorkspace)
throws java.lang.Exception
- Specified by:
process
in class DaemonRequest<DRP_TYPE extends java.io.Serializable>
- Throws:
java.lang.Exception
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getEnvironment
protected java.util.Map<java.lang.String,java.lang.String> getEnvironment()
setup
protected void setup()
tearDown
protected void tearDown()
createFileUnderWorkspace
protected java.lang.String createFileUnderWorkspace(java.lang.String fileName,
java.lang.String contents)
createFile
protected java.lang.String createFile(java.lang.String root,
java.lang.String fileName,
java.lang.String contents)
createFile
protected java.lang.String createFile(java.lang.String fullFileName,
java.lang.String contents)
main
public static void main(java.lang.String[] args)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2007-2009. All Rights Reserved.