Enum RpcFunctionSpec
- java.lang.Object
-
- java.lang.Enum<RpcFunctionSpec>
-
- com.perforce.p4java.impl.mapbased.rpc.func.RpcFunctionSpec
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RpcFunctionSpec>
public enum RpcFunctionSpec extends java.lang.Enum<RpcFunctionSpec>
Defines the various Perforce RPC function names.If you add or change something here, make sure you also change the corresponding definitions elsewhere in places like the RpcFunction class.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RpcFunctionSpec
decode(java.lang.String str)
Decode a RpcFunctionSpec from the passed-in string, assumed to be in RPC wire form.static RpcFunctionSpec
decode(java.lang.String str, boolean relaxedCheck)
A version of decode that handles the specialised case of relaxed checking for USER commands (and user commands *only*).static RpcFunctionSpec
decodeFromEndUserCmd(java.lang.String str, boolean relaxedCheck)
Decode a RpcFunctionSpec from a string passed in from the upper levels of P4Java as an end-user command, e.g.java.lang.String
getEncoding()
RpcFunctionType
getType()
void
marshal(java.nio.ByteBuffer buf)
static RpcFunctionSpec
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RpcFunctionSpec[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final RpcFunctionSpec NONE
-
PROTOCOL_COMPRESS1
public static final RpcFunctionSpec PROTOCOL_COMPRESS1
-
PROTOCOL_COMPRESS2
public static final RpcFunctionSpec PROTOCOL_COMPRESS2
-
PROTOCOL_ECHO
public static final RpcFunctionSpec PROTOCOL_ECHO
-
PROTOCOL_ERRORHANDLER
public static final RpcFunctionSpec PROTOCOL_ERRORHANDLER
-
PROTOCOL_FLUSH1
public static final RpcFunctionSpec PROTOCOL_FLUSH1
-
PROTOCOL_FLUSH2
public static final RpcFunctionSpec PROTOCOL_FLUSH2
-
PROTOCOL_FUNCHANDLER
public static final RpcFunctionSpec PROTOCOL_FUNCHANDLER
-
PROTOCOL_PROTOCOL
public static final RpcFunctionSpec PROTOCOL_PROTOCOL
-
PROTOCOL_RELEASE
public static final RpcFunctionSpec PROTOCOL_RELEASE
-
PROTOCOL_RELEASE2
public static final RpcFunctionSpec PROTOCOL_RELEASE2
-
PROTOCOL_CRYPTO
public static final RpcFunctionSpec PROTOCOL_CRYPTO
-
USER_SPECIFIED
public static final RpcFunctionSpec USER_SPECIFIED
-
USER_LOGIN
public static final RpcFunctionSpec USER_LOGIN
-
USER_LOGIN2
public static final RpcFunctionSpec USER_LOGIN2
-
USER_LOGOUT
public static final RpcFunctionSpec USER_LOGOUT
-
USER_INTEG
public static final RpcFunctionSpec USER_INTEG
-
USER_MOVE
public static final RpcFunctionSpec USER_MOVE
-
USER_TAG
public static final RpcFunctionSpec USER_TAG
-
USER_MONITOR
public static final RpcFunctionSpec USER_MONITOR
-
USER_ANNOTATE
public static final RpcFunctionSpec USER_ANNOTATE
-
USER_DBSCHEMA
public static final RpcFunctionSpec USER_DBSCHEMA
-
USER_EXPORT
public static final RpcFunctionSpec USER_EXPORT
-
USER_SHELVE
public static final RpcFunctionSpec USER_SHELVE
-
USER_UNSHELVE
public static final RpcFunctionSpec USER_UNSHELVE
-
USER_PROTECTS
public static final RpcFunctionSpec USER_PROTECTS
-
USER_INTERCHANGES
public static final RpcFunctionSpec USER_INTERCHANGES
-
USER_GREP
public static final RpcFunctionSpec USER_GREP
-
USER_ATTRIBUTE
public static final RpcFunctionSpec USER_ATTRIBUTE
-
USER_SPEC
public static final RpcFunctionSpec USER_SPEC
-
USER_COPY
public static final RpcFunctionSpec USER_COPY
-
USER_CONFIGURE
public static final RpcFunctionSpec USER_CONFIGURE
-
USER_DISKSPACE
public static final RpcFunctionSpec USER_DISKSPACE
-
USER_ISTAT
public static final RpcFunctionSpec USER_ISTAT
-
USER_MERGE
public static final RpcFunctionSpec USER_MERGE
-
USER_LOGTAIL
public static final RpcFunctionSpec USER_LOGTAIL
-
USER_TRUST
public static final RpcFunctionSpec USER_TRUST
-
USER_DUPLICATE
public static final RpcFunctionSpec USER_DUPLICATE
-
USER_UNLOAD
public static final RpcFunctionSpec USER_UNLOAD
-
USER_RELOAD
public static final RpcFunctionSpec USER_RELOAD
-
USER_POPULATE
public static final RpcFunctionSpec USER_POPULATE
-
USER_KEY
public static final RpcFunctionSpec USER_KEY
-
USER_KEYS
public static final RpcFunctionSpec USER_KEYS
-
USER_SEARCH
public static final RpcFunctionSpec USER_SEARCH
-
USER_PROPERTY
public static final RpcFunctionSpec USER_PROPERTY
-
USER_SIZES
public static final RpcFunctionSpec USER_SIZES
-
USER_JOURNALWAIT
public static final RpcFunctionSpec USER_JOURNALWAIT
-
USER_RENAMEUSER
public static final RpcFunctionSpec USER_RENAMEUSER
-
USER_RENAMECLIENT
public static final RpcFunctionSpec USER_RENAMECLIENT
-
USER_GRAPH
public static final RpcFunctionSpec USER_GRAPH
-
USER_REPOS
public static final RpcFunctionSpec USER_REPOS
-
USER_TRANSMIT
public static final RpcFunctionSpec USER_TRANSMIT
-
USER_LIST
public static final RpcFunctionSpec USER_LIST
-
USER_RETYPE
public static final RpcFunctionSpec USER_RETYPE
-
USER_LICENSE
public static final RpcFunctionSpec USER_LICENSE
-
USER_STREAMLOG
public static final RpcFunctionSpec USER_STREAMLOG
-
USER_TOPOLOGY
public static final RpcFunctionSpec USER_TOPOLOGY
-
USER_ADD
public static final RpcFunctionSpec USER_ADD
-
USER_ADMIN
public static final RpcFunctionSpec USER_ADMIN
-
USER_BRANCH
public static final RpcFunctionSpec USER_BRANCH
-
USER_BRANCHES
public static final RpcFunctionSpec USER_BRANCHES
-
USER_CHANGE
public static final RpcFunctionSpec USER_CHANGE
-
USER_CHANGES
public static final RpcFunctionSpec USER_CHANGES
-
USER_CLIENT
public static final RpcFunctionSpec USER_CLIENT
-
USER_CLIENTS
public static final RpcFunctionSpec USER_CLIENTS
-
USER_COUNTER
public static final RpcFunctionSpec USER_COUNTER
-
USER_COUNTERS
public static final RpcFunctionSpec USER_COUNTERS
-
USER_DELETE
public static final RpcFunctionSpec USER_DELETE
-
USER_DEPOT
public static final RpcFunctionSpec USER_DEPOT
-
USER_DEPOTS
public static final RpcFunctionSpec USER_DEPOTS
-
USER_DESCRIBE
public static final RpcFunctionSpec USER_DESCRIBE
-
USER_DIFF
public static final RpcFunctionSpec USER_DIFF
-
USER_DIFF2
public static final RpcFunctionSpec USER_DIFF2
-
USER_DIRS
public static final RpcFunctionSpec USER_DIRS
-
USER_EDIT
public static final RpcFunctionSpec USER_EDIT
-
USER_EXTENSION
public static final RpcFunctionSpec USER_EXTENSION
-
USER_FAILOVER
public static final RpcFunctionSpec USER_FAILOVER
-
USER_FETCH
public static final RpcFunctionSpec USER_FETCH
-
USER_FILELOG
public static final RpcFunctionSpec USER_FILELOG
-
USER_FILES
public static final RpcFunctionSpec USER_FILES
-
USER_FIX
public static final RpcFunctionSpec USER_FIX
-
USER_FIXES
public static final RpcFunctionSpec USER_FIXES
-
USER_FLUSH
public static final RpcFunctionSpec USER_FLUSH
-
USER_FSTAT
public static final RpcFunctionSpec USER_FSTAT
-
USER_GROUP
public static final RpcFunctionSpec USER_GROUP
-
USER_GROUPS
public static final RpcFunctionSpec USER_GROUPS
-
USER_HAVE
public static final RpcFunctionSpec USER_HAVE
-
USER_HEARTBEAT
public static final RpcFunctionSpec USER_HEARTBEAT
-
USER_HELP
public static final RpcFunctionSpec USER_HELP
-
USER_INFO
public static final RpcFunctionSpec USER_INFO
-
USER_INTEGRATE
public static final RpcFunctionSpec USER_INTEGRATE
-
USER_INTEGRATED
public static final RpcFunctionSpec USER_INTEGRATED
-
USER_JOB
public static final RpcFunctionSpec USER_JOB
-
USER_JOBS
public static final RpcFunctionSpec USER_JOBS
-
USER_JOBSPEC
public static final RpcFunctionSpec USER_JOBSPEC
-
USER_LABEL
public static final RpcFunctionSpec USER_LABEL
-
USER_LABELS
public static final RpcFunctionSpec USER_LABELS
-
USER_LABELSYNC
public static final RpcFunctionSpec USER_LABELSYNC
-
USER_LOCK
public static final RpcFunctionSpec USER_LOCK
-
USER_OBLITERATE
public static final RpcFunctionSpec USER_OBLITERATE
-
USER_OPENED
public static final RpcFunctionSpec USER_OPENED
-
USER_PASSWD
public static final RpcFunctionSpec USER_PASSWD
-
USER_PRINT
public static final RpcFunctionSpec USER_PRINT
-
USER_PROTECT
public static final RpcFunctionSpec USER_PROTECT
-
USER_PUSH
public static final RpcFunctionSpec USER_PUSH
-
USER_RECONCILE
public static final RpcFunctionSpec USER_RECONCILE
-
USER_REMOTE
public static final RpcFunctionSpec USER_REMOTE
-
USER_REMOTES
public static final RpcFunctionSpec USER_REMOTES
-
USER_RENAME
public static final RpcFunctionSpec USER_RENAME
-
USER_REPO
public static final RpcFunctionSpec USER_REPO
-
USER_REOPEN
public static final RpcFunctionSpec USER_REOPEN
-
USER_RESOLVE
public static final RpcFunctionSpec USER_RESOLVE
-
USER_RESOLVED
public static final RpcFunctionSpec USER_RESOLVED
-
USER_RESUBMIT
public static final RpcFunctionSpec USER_RESUBMIT
-
USER_REVERT
public static final RpcFunctionSpec USER_REVERT
-
USER_REVIEW
public static final RpcFunctionSpec USER_REVIEW
-
USER_REVIEWS
public static final RpcFunctionSpec USER_REVIEWS
-
USER_SET
public static final RpcFunctionSpec USER_SET
-
USER_STREAM
public static final RpcFunctionSpec USER_STREAM
-
USER_STREAMS
public static final RpcFunctionSpec USER_STREAMS
-
USER_STREAMSPEC
public static final RpcFunctionSpec USER_STREAMSPEC
-
USER_STORAGE
public static final RpcFunctionSpec USER_STORAGE
-
USER_SUBMIT
public static final RpcFunctionSpec USER_SUBMIT
-
USER_SWITCH
public static final RpcFunctionSpec USER_SWITCH
-
USER_SYNC
public static final RpcFunctionSpec USER_SYNC
-
USER_TRIGGERS
public static final RpcFunctionSpec USER_TRIGGERS
-
USER_TYPEMAP
public static final RpcFunctionSpec USER_TYPEMAP
-
USER_UNDO
public static final RpcFunctionSpec USER_UNDO
-
USER_UNLOCK
public static final RpcFunctionSpec USER_UNLOCK
-
USER_UNSUBMIT
public static final RpcFunctionSpec USER_UNSUBMIT
-
USER_UNZIP
public static final RpcFunctionSpec USER_UNZIP
-
USER_UPGRADES
public static final RpcFunctionSpec USER_UPGRADES
-
USER_USER
public static final RpcFunctionSpec USER_USER
-
USER_USERS
public static final RpcFunctionSpec USER_USERS
-
USER_VERIFY
public static final RpcFunctionSpec USER_VERIFY
-
USER_WHERE
public static final RpcFunctionSpec USER_WHERE
-
USER_ZIP
public static final RpcFunctionSpec USER_ZIP
-
CLIENT_ACK
public static final RpcFunctionSpec CLIENT_ACK
-
CLIENT_ACKMATCH
public static final RpcFunctionSpec CLIENT_ACKMATCH
-
CLIENT_ACTIONRESOLVE
public static final RpcFunctionSpec CLIENT_ACTIONRESOLVE
-
CLIENT_CHECKFILE
public static final RpcFunctionSpec CLIENT_CHECKFILE
-
CLIENT_RECONCILEEDIT
public static final RpcFunctionSpec CLIENT_RECONCILEEDIT
-
CLIENT_CHMODFILE
public static final RpcFunctionSpec CLIENT_CHMODFILE
-
CLIENT_CLOSEDIFF
public static final RpcFunctionSpec CLIENT_CLOSEDIFF
-
CLIENT_CLOSEFILE
public static final RpcFunctionSpec CLIENT_CLOSEFILE
-
CLIENT_CLOSEMATCH
public static final RpcFunctionSpec CLIENT_CLOSEMATCH
-
CLIENT_CLOSEMERGE
public static final RpcFunctionSpec CLIENT_CLOSEMERGE
-
CLIENT_CONVERTFILE
public static final RpcFunctionSpec CLIENT_CONVERTFILE
-
CLIENT_CRYPTO
public static final RpcFunctionSpec CLIENT_CRYPTO
-
CLIENT_DELETEFILE
public static final RpcFunctionSpec CLIENT_DELETEFILE
-
CLIENT_EDITDATA
public static final RpcFunctionSpec CLIENT_EDITDATA
-
CLIENT_ERRORPAUSE
public static final RpcFunctionSpec CLIENT_ERRORPAUSE
-
CLIENT_FSTATINFO
public static final RpcFunctionSpec CLIENT_FSTATINFO
-
CLIENT_FSTATPARTIAL
public static final RpcFunctionSpec CLIENT_FSTATPARTIAL
-
CLIENT_HANDLEERROR
public static final RpcFunctionSpec CLIENT_HANDLEERROR
-
CLIENT_INPUTDATA
public static final RpcFunctionSpec CLIENT_INPUTDATA
-
CLIENT_MESSAGE
public static final RpcFunctionSpec CLIENT_MESSAGE
-
CLIENT_OPENDIFF
public static final RpcFunctionSpec CLIENT_OPENDIFF
-
CLIENT_OPENFILE
public static final RpcFunctionSpec CLIENT_OPENFILE
-
CLIENT_OPENMATCH
public static final RpcFunctionSpec CLIENT_OPENMATCH
-
CLIENT_OPENMERGE2
public static final RpcFunctionSpec CLIENT_OPENMERGE2
-
CLIENT_OPENMERGE3
public static final RpcFunctionSpec CLIENT_OPENMERGE3
-
CLIENT_OPENURL
public static final RpcFunctionSpec CLIENT_OPENURL
-
CLIENT_OUTPUTBINARY
public static final RpcFunctionSpec CLIENT_OUTPUTBINARY
-
CLIENT_OUTPUTDATA
public static final RpcFunctionSpec CLIENT_OUTPUTDATA
-
CLIENT_OUTPUTERROR
public static final RpcFunctionSpec CLIENT_OUTPUTERROR
-
CLIENT_OUTPUTINFO
public static final RpcFunctionSpec CLIENT_OUTPUTINFO
-
CLIENT_OUTPUTTEXT
public static final RpcFunctionSpec CLIENT_OUTPUTTEXT
-
CLIENT_PING
public static final RpcFunctionSpec CLIENT_PING
-
CLIENT_PROGRESS
public static final RpcFunctionSpec CLIENT_PROGRESS
-
CLIENT_PROMPT
public static final RpcFunctionSpec CLIENT_PROMPT
-
CLIENT_MOVEFILE
public static final RpcFunctionSpec CLIENT_MOVEFILE
-
CLIENT_RECONCILEADD
public static final RpcFunctionSpec CLIENT_RECONCILEADD
-
CLIENT_RECONCILEFLUSH
public static final RpcFunctionSpec CLIENT_RECONCILEFLUSH
-
CLIENT_RECEIVEFILES
public static final RpcFunctionSpec CLIENT_RECEIVEFILES
-
CLIENT_EXACTMATCH
public static final RpcFunctionSpec CLIENT_EXACTMATCH
-
CLIENT_SCANDIR
public static final RpcFunctionSpec CLIENT_SCANDIR
-
CLIENT_SENDFILE
public static final RpcFunctionSpec CLIENT_SENDFILE
-
CLIENT_SETPASSWORD
public static final RpcFunctionSpec CLIENT_SETPASSWORD
-
CLIENT_SSO
public static final RpcFunctionSpec CLIENT_SSO
-
CLIENT_WRITEDIFF
public static final RpcFunctionSpec CLIENT_WRITEDIFF
-
CLIENT_WRITEFILE
public static final RpcFunctionSpec CLIENT_WRITEFILE
-
CLIENT_WRITEMATCH
public static final RpcFunctionSpec CLIENT_WRITEMATCH
-
CLIENT_WRITEMERGE
public static final RpcFunctionSpec CLIENT_WRITEMERGE
-
CLIENT_DM_PROMPT
public static final RpcFunctionSpec CLIENT_DM_PROMPT
-
CLIENT_DM_OPENFILE
public static final RpcFunctionSpec CLIENT_DM_OPENFILE
-
CLIENT_DM_MOVEFILE
public static final RpcFunctionSpec CLIENT_DM_MOVEFILE
-
SERVER_DM_LOGIN
public static final RpcFunctionSpec SERVER_DM_LOGIN
-
SERVER_DM_LOGIN2
public static final RpcFunctionSpec SERVER_DM_LOGIN2
-
SERVER_DM_PASSWD
public static final RpcFunctionSpec SERVER_DM_PASSWD
-
SERVER_DM_SUBMITCHANGE
public static final RpcFunctionSpec SERVER_DM_SUBMITCHANGE
-
SERVER_LBR_OPEN
public static final RpcFunctionSpec SERVER_LBR_OPEN
-
SERVER_DM_LBR_OPEN
public static final RpcFunctionSpec SERVER_DM_LBR_OPEN
-
SERVER_LBR_WRITEFILE
public static final RpcFunctionSpec SERVER_LBR_WRITEFILE
-
SERVER_DM_SUBMITFILE
public static final RpcFunctionSpec SERVER_DM_SUBMITFILE
-
SERVER_DM_COMMITSUBMIT
public static final RpcFunctionSpec SERVER_DM_COMMITSUBMIT
-
SERVER_RELEASEFILE
public static final RpcFunctionSpec SERVER_RELEASEFILE
-
SERVER_CMPFILE
public static final RpcFunctionSpec SERVER_CMPFILE
-
SERVER_DM_RESOLVEDFILE
public static final RpcFunctionSpec SERVER_DM_RESOLVEDFILE
-
SERVER_DM_RESOLVEDFAILED
public static final RpcFunctionSpec SERVER_DM_RESOLVEDFAILED
-
SERVER_RECONCILEFILE
public static final RpcFunctionSpec SERVER_RECONCILEFILE
-
SERVER_RECONCILEADDS
public static final RpcFunctionSpec SERVER_RECONCILEADDS
-
-
Method Detail
-
values
public static RpcFunctionSpec[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RpcFunctionSpec c : RpcFunctionSpec.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RpcFunctionSpec valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
decode
public static RpcFunctionSpec decode(java.lang.String str)
Decode a RpcFunctionSpec from the passed-in string, assumed to be in RPC wire form.- Parameters:
str
- string- Returns:
- RpcFunctionSpec
-
decode
public static RpcFunctionSpec decode(java.lang.String str, boolean relaxedCheck)
A version of decode that handles the specialised case of relaxed checking for USER commands (and user commands *only*).- Parameters:
str
- stringrelaxedCheck
- relaxed check option- Returns:
- RpcFunctionSpec
-
decodeFromEndUserCmd
public static RpcFunctionSpec decodeFromEndUserCmd(java.lang.String str, boolean relaxedCheck)
Decode a RpcFunctionSpec from a string passed in from the upper levels of P4Java as an end-user command, e.g. decode "depots" to USER_DEPOTS. This is subtly different to decoding it from the wire; also, it's only applicable for user commands.- Parameters:
str
- stringrelaxedCheck
- relaxed check option- Returns:
- RpcFunctionSpec
-
getEncoding
public java.lang.String getEncoding()
-
getType
public RpcFunctionType getType()
-
marshal
public void marshal(java.nio.ByteBuffer buf)
-
-