com.perforce.p4java.impl.generic.core
Class ServerProcess
java.lang.Object
com.perforce.p4java.impl.generic.core.ServerResource
com.perforce.p4java.impl.generic.core.ServerProcess
- All Implemented Interfaces:
- IServerProcess, IServerResource
public class ServerProcess
- extends ServerResource
- implements IServerProcess
Simple default generic implementation class for the P4JServerProcess interface.
Constructor Summary |
ServerProcess()
|
ServerProcess(java.util.Map<java.lang.String,java.lang.Object> map)
Construct a new implementation from the map passed back
from the lower level exec map command. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerProcess
public ServerProcess()
ServerProcess
public ServerProcess(java.util.Map<java.lang.String,java.lang.Object> map)
- Construct a new implementation from the map passed back
from the lower level exec map command.
- Parameters:
map
- map passed back from the Perforce server
getCommand
public java.lang.String getCommand()
- Specified by:
getCommand
in interface IServerProcess
- See Also:
IServerProcess.getCommand()
getId
public int getId()
- Specified by:
getId
in interface IServerProcess
- See Also:
IServerProcess.getId()
getStatus
public java.lang.String getStatus()
- Specified by:
getStatus
in interface IServerProcess
- See Also:
IServerProcess.getStatus()
getTime
public java.lang.String getTime()
- Specified by:
getTime
in interface IServerProcess
- See Also:
IServerProcess.getTime()
getUserName
public java.lang.String getUserName()
- Specified by:
getUserName
in interface IServerProcess
- See Also:
IServerProcess.getUserName()
setId
public void setId(int id)
setTime
public void setTime(java.lang.String time)
setStatus
public void setStatus(java.lang.String status)
setCommand
public void setCommand(java.lang.String command)
setUserName
public void setUserName(java.lang.String userName)
Copyright (c) 2008-2010 Perforce Software. All rights reserved.