Class ServerProcess
java.lang.Object
com.perforce.p4java.impl.generic.core.ServerResource
com.perforce.p4java.impl.generic.core.ServerProcess
- All Implemented Interfaces:
IServerProcess,IServerResource
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
ConstructorsConstructorDescriptionServerProcess(Map<String, Object> map) Construct a new implementation from the map passed back from the lower level exec map command. -
Method Summary
Modifier and TypeMethodDescriptiongetArgs()getHost()intgetId()getProg()getTime()voidvoidvoidsetCommand(String command) voidvoidsetId(int id) voidvoidvoidvoidsetUserName(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, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.perforce.p4java.core.IServerResource
canRefresh, canUpdate, clearRawFields, complete, getRawField, getRawFields, hasRawField, refresh, setRawField, setRawFields, setServer, update, update, update
-
Constructor Details
-
ServerProcess
public ServerProcess() -
ServerProcess
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 Details
-
getId
public int getId()- Specified by:
getIdin interfaceIServerProcess- See Also:
-
getProg
- Specified by:
getProgin interfaceIServerProcess- See Also:
-
getHost
- Specified by:
getHostin interfaceIServerProcess- See Also:
-
getClient
- Specified by:
getClientin interfaceIServerProcess- See Also:
-
getStatus
- Specified by:
getStatusin interfaceIServerProcess- See Also:
-
getUserName
- Specified by:
getUserNamein interfaceIServerProcess- See Also:
-
getTime
- Specified by:
getTimein interfaceIServerProcess- See Also:
-
getCommand
- Specified by:
getCommandin interfaceIServerProcess- See Also:
-
getArgs
- Specified by:
getArgsin interfaceIServerProcess- See Also:
-
setId
public void setId(int id) -
setProg
-
setHost
-
setClient
-
setStatus
-
setUserName
-
setTime
-
setCommand
-
setArgs
-