Class CommandEnv.RpcHandler
- java.lang.Object
-
- com.perforce.p4java.impl.mapbased.rpc.CommandEnv.RpcHandler
-
- Enclosing class:
- CommandEnv
public class CommandEnv.RpcHandler extends java.lang.Object
P4Java's version of the notorious handler class in the C++ API. Basically used (and abused) in much the same way, mostly (at least) until I can work out a better way to do things, at which point it's likely to be factored out elsewhere.
-
-
Constructor Summary
Constructors Constructor Description RpcHandler(java.lang.String name, boolean error, java.io.File file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.File
getFile()
java.util.Map<java.lang.String,java.lang.Object>
getMap()
java.lang.String
getName()
java.lang.String
getType()
boolean
isError()
void
setError(boolean error)
void
setFile(java.io.File file)
void
setMap(java.util.Map<java.lang.String,java.lang.Object> map)
void
setName(java.lang.String name)
void
setType(java.lang.String type)
-
-
-
Method Detail
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getType
public java.lang.String getType()
-
setType
public void setType(java.lang.String type)
-
isError
public boolean isError()
-
setError
public void setError(boolean error)
-
getFile
public java.io.File getFile()
-
setFile
public void setFile(java.io.File file)
-
getMap
public java.util.Map<java.lang.String,java.lang.Object> getMap()
-
setMap
public void setMap(java.util.Map<java.lang.String,java.lang.Object> map)
-
-