Package org.codehaus.cargo.tools.daemon
Class DaemonParameters
- java.lang.Object
-
- org.codehaus.cargo.tools.daemon.DaemonParameters
-
public class DaemonParameters extends Object
Represents the daemon parameters to be sent to the listening daemon.
-
-
Constructor Summary
Constructors Constructor Description DaemonParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
getFiles()
Map<String,String>
getParameters()
boolean
isMultipartForm()
void
setFile(String key, String file)
Sets a daemon file.void
setParameter(String key, String value)
Sets a daemon parameter.
-
-
-
Method Detail
-
setParameter
public void setParameter(String key, String value)
Sets a daemon parameter.- Parameters:
key
- The key namevalue
- The value string for the specified key
-
setFile
public void setFile(String key, String file)
Sets a daemon file.- Parameters:
key
- The key namefile
- The path to a file
-
isMultipartForm
public boolean isMultipartForm()
- Returns:
- if this is a multipart form or not
-
-