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.
-
-
Field Summary
-
Fields inherited from class com.perforce.p4java.impl.generic.core.ServerResource
refreshable, server, updateable
-
-
Constructor Summary
Constructors Constructor Description 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getArgs()
java.lang.String
getClient()
java.lang.String
getCommand()
java.lang.String
getHost()
int
getId()
java.lang.String
getProg()
java.lang.String
getStatus()
java.lang.String
getTime()
java.lang.String
getUserName()
void
setArgs(java.lang.String args)
void
setClient(java.lang.String client)
void
setCommand(java.lang.String command)
void
setHost(java.lang.String host)
void
setId(int id)
void
setProg(java.lang.String prog)
void
setStatus(java.lang.String status)
void
setTime(java.lang.String time)
void
setUserName(java.lang.String userName)
-
Methods inherited from class com.perforce.p4java.impl.generic.core.ServerResource
canRefresh, canUpdate, clearRawFields, complete, getRawField, getRawFields, hasRawField, parseDate, refresh, setRawField, setRawFields, setRefreshable, setServer, toDateString, update, update, update
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.perforce.p4java.core.IServerResource
canRefresh, canUpdate, clearRawFields, complete, getRawField, getRawFields, hasRawField, refresh, setRawField, setRawFields, setServer, update, update, update
-
-
-
-
Constructor Detail
-
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
-
-
Method Detail
-
getId
public int getId()
- Specified by:
getId
in interfaceIServerProcess
- See Also:
IServerProcess.getId()
-
getProg
public java.lang.String getProg()
- Specified by:
getProg
in interfaceIServerProcess
- See Also:
IServerProcess.getProg()
-
getHost
public java.lang.String getHost()
- Specified by:
getHost
in interfaceIServerProcess
- See Also:
IServerProcess.getHost()
-
getClient
public java.lang.String getClient()
- Specified by:
getClient
in interfaceIServerProcess
- See Also:
IServerProcess.getClient()
-
getStatus
public java.lang.String getStatus()
- Specified by:
getStatus
in interfaceIServerProcess
- See Also:
IServerProcess.getStatus()
-
getUserName
public java.lang.String getUserName()
- Specified by:
getUserName
in interfaceIServerProcess
- See Also:
IServerProcess.getUserName()
-
getTime
public java.lang.String getTime()
- Specified by:
getTime
in interfaceIServerProcess
- See Also:
IServerProcess.getTime()
-
getCommand
public java.lang.String getCommand()
- Specified by:
getCommand
in interfaceIServerProcess
- See Also:
IServerProcess.getCommand()
-
getArgs
public java.lang.String getArgs()
- Specified by:
getArgs
in interfaceIServerProcess
- See Also:
IServerProcess.getArgs()
-
setId
public void setId(int id)
-
setProg
public void setProg(java.lang.String prog)
-
setHost
public void setHost(java.lang.String host)
-
setClient
public void setClient(java.lang.String client)
-
setStatus
public void setStatus(java.lang.String status)
-
setUserName
public void setUserName(java.lang.String userName)
-
setTime
public void setTime(java.lang.String time)
-
setCommand
public void setCommand(java.lang.String command)
-
setArgs
public void setArgs(java.lang.String args)
-
-