Package
Class
Use
Tree
Index
Help
PREV NEXT
FRAMES
NO FRAMES
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
U
V
W
A
addValue(String)
- Method in class com.perforce.api.
JobField
addView(String)
- Method in class com.perforce.api.
Mapping
addView(String, String)
- Method in class com.perforce.api.
Mapping
Add a view to the Mapping.
ALWAYS
- Static variable in class com.perforce.api.
JobField
Field type has always reset to the default upon saving
B
Branch
- class com.perforce.api.
Branch
.
Representation of a source control branch.
Branch()
- Constructor for class com.perforce.api.
Branch
Default no-argument constructor.
Branch(String)
- Constructor for class com.perforce.api.
Branch
Constructor that is passed the branch name.
C
Cacheable
- interface com.perforce.api.
Cacheable
.
An interface that indicates the implementing class can be cached for some period of time.
Change
- class com.perforce.api.
Change
.
Representation of a source control change.
Change()
- Constructor for class com.perforce.api.
Change
Default no-argument constructor.
Change(Env)
- Constructor for class com.perforce.api.
Change
Change(int)
- Constructor for class com.perforce.api.
Change
Constructor that accepts the change number.
Change(String)
- Constructor for class com.perforce.api.
Change
clearCache()
- Method in class com.perforce.api.
SourceControlObject
clearCache()
- Method in interface com.perforce.api.
Cacheable
Removes any cached objects.
Client
- class com.perforce.api.
Client
.
Representation of a source control client.
Client()
- Constructor for class com.perforce.api.
Client
Default no-argument constructor.
Client(String)
- Constructor for class com.perforce.api.
Client
Constructor that is passed the client name.
close()
- Method in class com.perforce.api.
P4Process
Waits for the underlying process to exit and closes it down.
close(PrintStream)
- Method in class com.perforce.api.
P4Process
Waits for the process to exit and closes out the process.
CLOSED
- Static variable in class com.perforce.api.
Job
Indicates that the Job is closed.
com.perforce.api
- package com.perforce.api
Provides classes for accessing Perforce objects (
LICENSE
).
commit()
- Method in class com.perforce.api.
SourceControlObject
Stores this object back into Perforce, creating it if it didn't already exist.
commit()
- Method in class com.perforce.api.
User
commit()
- Method in class com.perforce.api.
Job
commit()
- Method in class com.perforce.api.
DirEntry
commit()
- Method in class com.perforce.api.
Mapping
commit()
- Method in class com.perforce.api.
Label
commit()
- Method in interface com.perforce.api.
Cacheable
Stores this object back into Perforce, creating it if it didn't already exist.
commit()
- Method in class com.perforce.api.
Client
commit()
- Method in class com.perforce.api.
Change
commit()
- Method in class com.perforce.api.
FileEntry
No-op.
commit()
- Method in class com.perforce.api.
Branch
CommitException
- exception com.perforce.api.
CommitException
.
Signals that an exception occurred during the process of committing a cacheable object to perforce.
CommitException(String)
- Constructor for class com.perforce.api.
CommitException
commonLog(String)
- Static method in class com.perforce.api.
EventLog
Logs an event to the common log.
commonLog(String, String)
- Static method in class com.perforce.api.
EventLog
Logs an event to the common log.
commonLog(String, String, boolean)
- Static method in class com.perforce.api.
EventLog
commonPrefix(Enumeration)
- Static method in class com.perforce.api.
Utils
Returns common prefix for an Enumeration of strings.
commonPrefix(Vector)
- Static method in class com.perforce.api.
Utils
Returns common prefix for a Vector of strings.
customizePath(String, char, char)
- Static method in class com.perforce.api.
FileEntry
D
DATE
- Static variable in class com.perforce.api.
JobField
Data type is a date/time field
Debug
- class com.perforce.api.
Debug
.
Utility class used for debugging.
Debug()
- Constructor for class com.perforce.api.
Debug
DEFAULT
- Static variable in class com.perforce.api.
JobField
Field type has default provided, still not required
deleteEmptyChange()
- Method in class com.perforce.api.
Change
Deletes the Changelist if it is empty.
depotizePath(String)
- Static method in class com.perforce.api.
FileEntry
DirEntry
- class com.perforce.api.
DirEntry
.
Representation of a source control directory.
DirEntry()
- Constructor for class com.perforce.api.
DirEntry
DirEntry(DirEntry, String)
- Constructor for class com.perforce.api.
DirEntry
DirEntry(Env)
- Constructor for class com.perforce.api.
DirEntry
DirEntry(Env, String)
- Constructor for class com.perforce.api.
DirEntry
E
Env
- class com.perforce.api.
Env
.
Representation of a source control environment.
Env()
- Constructor for class com.perforce.api.
Env
Default, no-argument constructor.
Env(Env)
- Constructor for class com.perforce.api.
Env
Constructor that uses another environment as its basis.
Env(Properties)
- Constructor for class com.perforce.api.
Env
Constructor that uses a set of
Properties
to set up the environment.
ERROR
- Static variable in class com.perforce.api.
Debug
Only error messages are displayed.
error(String)
- Static method in class com.perforce.api.
Debug
Displays an error message for debugging.
EventLog
- class com.perforce.api.
EventLog
.
This class controls an event log.
EventLog()
- Constructor for class com.perforce.api.
EventLog
Default, no-argument constructor.
EventLog(String)
- Constructor for class com.perforce.api.
EventLog
Constructor that accepts the title for this.
EventLog(String, String)
- Constructor for class com.perforce.api.
EventLog
exec(String[])
- Method in class com.perforce.api.
P4Process
Executes a p4 command.
F
FileEntry
- class com.perforce.api.
FileEntry
.
Representation of a source control file.
FileEntry()
- Constructor for class com.perforce.api.
FileEntry
Default no-argument constructor.
FileEntry(Env)
- Constructor for class com.perforce.api.
FileEntry
FileEntry(Env, String)
- Constructor for class com.perforce.api.
FileEntry
FileEntry(String)
- Constructor for class com.perforce.api.
FileEntry
fix(Env, String, boolean, String)
- Static method in class com.perforce.api.
Job
fix(Env, String, boolean, Vector)
- Static method in class com.perforce.api.
Job
flush()
- Method in class com.perforce.api.
P4Process
Flushes the output stream to the process.
G
getBase()
- Static method in class com.perforce.api.
P4Process
Returns the base process for this class.
getBasePath()
- Method in class com.perforce.api.
DirEntry
getBranch(Env, String, boolean)
- Static method in class com.perforce.api.
Branch
Returns a Branch with the specified name, or null if not found.
getBranch(String)
- Static method in class com.perforce.api.
Branch
Returns a Branch with the specified name, or null if not found.
getBranches()
- Static method in class com.perforce.api.
Branch
Returns list of all branches.
getBranches(Env)
- Static method in class com.perforce.api.
Branch
Returns list of all branches.
getBranchNames(Env)
- Static method in class com.perforce.api.
Branch
Returns list of all branch names.
getCache()
- Method in class com.perforce.api.
SourceControlObject
getCache()
- Method in class com.perforce.api.
User
getCache()
- Method in class com.perforce.api.
Job
getCache()
- Method in class com.perforce.api.
DirEntry
getCache()
- Method in class com.perforce.api.
Label
getCache()
- Method in interface com.perforce.api.
Cacheable
getCache()
- Method in class com.perforce.api.
Client
getCache()
- Method in class com.perforce.api.
Change
getCache()
- Method in class com.perforce.api.
FileEntry
getCache()
- Method in class com.perforce.api.
Branch
getChange(Env, int, boolean)
- Static method in class com.perforce.api.
Change
getChange(Env, String, boolean)
- Static method in class com.perforce.api.
Change
getChange(int)
- Static method in class com.perforce.api.
Change
getChange(int, boolean)
- Static method in class com.perforce.api.
Change
getChange(String)
- Static method in class com.perforce.api.
Change
getChange(String, boolean)
- Static method in class com.perforce.api.
Change
getChangeFixes(Env, String, String[])
- Static method in class com.perforce.api.
Job
getChangeFromPath(String)
- Static method in class com.perforce.api.
Utils
Returns the change number portion of a depot path, if there is a valid one found.
getChanges()
- Method in class com.perforce.api.
Job
getChanges(Env, String)
- Static method in class com.perforce.api.
Change
getChanges(Env, String, int, String, String, boolean, String)
- Static method in class com.perforce.api.
Change
getChanges(String)
- Static method in class com.perforce.api.
Change
getClient()
- Method in class com.perforce.api.
Env
Returns the P4CLIENT.
getClient(Env, String)
- Static method in class com.perforce.api.
Client
Returns a Client with the specified name, or null if not found.
getClient(String)
- Static method in class com.perforce.api.
Client
getClientName()
- Method in class com.perforce.api.
Change
getClientPath()
- Method in class com.perforce.api.
FileEntry
getClients(Env)
- Static method in class com.perforce.api.
Client
Returns a list of all the clients currently loaded.
getCode()
- Method in class com.perforce.api.
JobField
getDataType()
- Method in class com.perforce.api.
JobField
getDebugLevel()
- Static method in class com.perforce.api.
Debug
getDelay()
- Method in class com.perforce.api.
HashDecay
Returns the delay.
getDepotPath()
- Method in class com.perforce.api.
FileEntry
getDescription()
- Method in class com.perforce.api.
Job
Returns the description for the Job.
getDescription()
- Method in class com.perforce.api.
Mapping
Returns the Mapping description.
getDescription()
- Method in class com.perforce.api.
Change
Returns the description for the Change.
getDescription()
- Method in class com.perforce.api.
FileEntry
getDirEntry(Env, String, boolean)
- Static method in class com.perforce.api.
DirEntry
getDirNames()
- Method in class com.perforce.api.
DirEntry
getDirNames(Env)
- Method in class com.perforce.api.
DirEntry
getEmail()
- Method in class com.perforce.api.
User
Returns the e-mail address for this user.
getEnv()
- Method in class com.perforce.api.
SourceControlObject
Returns the P4 environment associated with this instance.
getEnv()
- Method in class com.perforce.api.
P4Process
Returns the environment in use by this process.
getEnvp()
- Method in class com.perforce.api.
Env
getEventLog()
- Static method in class com.perforce.api.
Debug
getExecutable()
- Method in class com.perforce.api.
Env
Returns the path to the executable.
getExitCode()
- Method in class com.perforce.api.
P4Process
Returns the exit code returned when the underlying process exits.
getField(String)
- Method in class com.perforce.api.
Job
getField(String)
- Static method in class com.perforce.api.
JobField
getFieldNames()
- Method in class com.perforce.api.
Job
getFieldType()
- Method in class com.perforce.api.
JobField
getFile(String)
- Static method in class com.perforce.api.
FileEntry
Gets the file information for the specified path.
getFileContents()
- Method in class com.perforce.api.
FileEntry
getFileContents(Env, String)
- Method in class com.perforce.api.
FileEntry
getFileEntries()
- Method in class com.perforce.api.
Job
getFileEntries()
- Method in class com.perforce.api.
Change
getFileLog(Env, String)
- Static method in class com.perforce.api.
FileEntry
getFileName()
- Method in class com.perforce.api.
EventLog
getFileNames()
- Method in class com.perforce.api.
DirEntry
getFileNames(Env)
- Method in class com.perforce.api.
DirEntry
getFiles()
- Method in class com.perforce.api.
DirEntry
getFiles()
- Method in class com.perforce.api.
Change
Returns a Vector filled with the files (including revision numbers) that were affected by this change.
getFiles(Env)
- Method in class com.perforce.api.
DirEntry
getFiles(Env, String)
- Static method in class com.perforce.api.
FileEntry
getFullName()
- Method in class com.perforce.api.
User
Returns the full name of this user.
getHaveRev()
- Method in class com.perforce.api.
FileEntry
getHeadAction()
- Method in class com.perforce.api.
FileEntry
getHeadChange()
- Method in class com.perforce.api.
FileEntry
getHeadDate()
- Method in class com.perforce.api.
FileEntry
getHeadRev()
- Method in class com.perforce.api.
FileEntry
getHeadTime()
- Method in class com.perforce.api.
FileEntry
getHeadTimeString()
- Method in class com.perforce.api.
FileEntry
getHeadType()
- Method in class com.perforce.api.
FileEntry
getId()
- Method in class com.perforce.api.
User
Returns the id for this user.
getJob(Env, String)
- Static method in class com.perforce.api.
Job
getJob(String)
- Static method in class com.perforce.api.
Job
getJobs(Env, String, int, boolean, String[])
- Static method in class com.perforce.api.
Job
getLabel(Env, String, boolean)
- Static method in class com.perforce.api.
Label
Returns a Label with the specified name, or null if not found.
getLabel(String)
- Static method in class com.perforce.api.
Label
Returns a Label with the specified name, or null if not found.
getLabelNames(Env)
- Static method in class com.perforce.api.
Label
getLabels()
- Static method in class com.perforce.api.
Label
getLabels(Env)
- Static method in class com.perforce.api.
Label
getLength()
- Method in class com.perforce.api.
JobField
getLevelName(int)
- Static method in class com.perforce.api.
Debug
getLog()
- Method in class com.perforce.api.
EventLog
Returns an Enumeration that contains all the events in the log.
getLogLevel()
- Static method in class com.perforce.api.
Debug
getModtimeString()
- Method in class com.perforce.api.
Job
getModtimeString()
- Method in class com.perforce.api.
Change
getName()
- Method in class com.perforce.api.
Job
Returns the name of this Job.
getName()
- Method in class com.perforce.api.
Mapping
Returns the name of the Mapping.
getName()
- Method in class com.perforce.api.
JobField
getName()
- Method in class com.perforce.api.
FileEntry
getNumber()
- Method in class com.perforce.api.
Change
Returns the number of this Change.
getOpened()
- Static method in class com.perforce.api.
FileEntry
getOpened(Env, boolean)
- Static method in class com.perforce.api.
FileEntry
getOpened(Env, boolean, boolean, int, Vector)
- Static method in class com.perforce.api.
FileEntry
getOptions()
- Method in class com.perforce.api.
Client
Returns the Client options.
getOwner()
- Method in class com.perforce.api.
Mapping
Returns the owner of the Mapping.
getOwner()
- Method in class com.perforce.api.
FileEntry
getParent()
- Method in class com.perforce.api.
DirEntry
getPassword()
- Method in class com.perforce.api.
Env
Returns the P4PASSWORD.
getPath()
- Method in class com.perforce.api.
DirEntry
getPath()
- Method in class com.perforce.api.
Env
Returns the PATH.
getPort()
- Method in class com.perforce.api.
Env
Returns the P4PORT.
getPreset()
- Method in class com.perforce.api.
JobField
getReader()
- Method in class com.perforce.api.
P4JNI
getRoot()
- Method in class com.perforce.api.
Client
Returns the Client root.
getShortDescription()
- Method in class com.perforce.api.
Change
getShortDescription(boolean)
- Method in class com.perforce.api.
Change
getShowThread()
- Static method in class com.perforce.api.
Debug
getSize()
- Method in class com.perforce.api.
EventLog
getSource()
- Method in class com.perforce.api.
FileEntry
getStatus()
- Method in class com.perforce.api.
Job
Returns the status for the Job.
getStatus()
- Method in class com.perforce.api.
Change
Returns the status for the Change.
getStatusName()
- Method in class com.perforce.api.
Job
getSyncTime()
- Method in class com.perforce.api.
SourceControlObject
getSyncTime()
- Method in interface com.perforce.api.
Cacheable
Returns the time, in milliseconds, that this object was synchronized.
getTitle()
- Method in class com.perforce.api.
EventLog
Gets the title of the log.
getUpdateTime()
- Method in class com.perforce.api.
SourceControlObject
getUpdateTime()
- Method in interface com.perforce.api.
Cacheable
Returns the time, in milliseconds, for this object's last update.
getUser()
- Method in class com.perforce.api.
Job
Returns the User that owns this Job.
getUser()
- Method in class com.perforce.api.
Env
Returns the P4USER.
getUser()
- Method in class com.perforce.api.
Change
Returns the User that owns this Change.
getUser(Env, String)
- Static method in class com.perforce.api.
User
getUser(String)
- Static method in class com.perforce.api.
User
Gets the user information for the specified user.
getUsers()
- Static method in class com.perforce.api.
User
getUsers(Env)
- Static method in class com.perforce.api.
User
getValues()
- Method in class com.perforce.api.
JobField
getView()
- Method in class com.perforce.api.
Mapping
getViews()
- Method in class com.perforce.api.
Mapping
getWriter()
- Method in class com.perforce.api.
P4JNI
H
HashDecay
- class com.perforce.api.
HashDecay
.
This hashtable build to contain objects that will decay over time.
HashDecay()
- Constructor for class com.perforce.api.
HashDecay
HashDecay(long)
- Constructor for class com.perforce.api.
HashDecay
HTMLEncode(String)
- Static method in class com.perforce.api.
Utils
HTMLEncode(String)
- Static method in class com.perforce.api.
FileEntry
I
in_close()
- Method in class com.perforce.api.
P4JNI
in_flush()
- Method in class com.perforce.api.
P4JNI
in_write(char[], int, int)
- Method in class com.perforce.api.
P4JNI
initPackage()
- Static method in class com.perforce.api.
Utils
Initializes the package, in order to avoid some arbitrary JVM problems that have been encountered.
inSync()
- Method in class com.perforce.api.
SourceControlObject
inSync()
- Method in interface com.perforce.api.
Cacheable
Marks this object as being in in sync or valid.
integrate(Env, String, String, StringBuffer, Change)
- Static method in class com.perforce.api.
Branch
Integrate a set of files using the named branch.
integrate(Env, Vector, String, StringBuffer, Change)
- Static method in class com.perforce.api.
Branch
Integrate a set of files using the named branch.
integrate(Env, Vector, String, StringBuffer, String)
- Static method in class com.perforce.api.
Branch
Integrate a set of files using the named branch.
invalidate()
- Method in class com.perforce.api.
SourceControlObject
invalidate()
- Method in interface com.perforce.api.
Cacheable
Invalidates this object.
isMSJVM()
- Static method in class com.perforce.api.
Utils
Check to see if the current Java Virtual Machine is made by Microsoft
isPiped()
- Method in class com.perforce.api.
P4JNI
isValid()
- Static method in class com.perforce.api.
P4JNI
isWindows()
- Static method in class com.perforce.api.
Utils
Check to see if the current operating system is a Windows OS
J
Job
- class com.perforce.api.
Job
.
Representation of a source control job.
Job()
- Constructor for class com.perforce.api.
Job
Default no-argument constructor.
Job(String)
- Constructor for class com.perforce.api.
Job
Constructor that accepts the job number.
JobField
- class com.perforce.api.
JobField
.
Data class for p4 jobspec field information.
JobField()
- Constructor for class com.perforce.api.
JobField
JobField(int, String, int, int, int)
- Constructor for class com.perforce.api.
JobField
JobField(int, String, String, int, String)
- Constructor for class com.perforce.api.
JobField
L
Label
- class com.perforce.api.
Label
.
Representation of a source control lablel.
Label()
- Constructor for class com.perforce.api.
Label
Default no-argument constructor.
Label(String)
- Constructor for class com.perforce.api.
Label
Constructor that is passed the label name.
LINE
- Static variable in class com.perforce.api.
JobField
Data type is a one-liner
loadBranches()
- Static method in class com.perforce.api.
Branch
Loads the list of branches using the default environment.
loadBranches(Env)
- Static method in class com.perforce.api.
Branch
Loads a list of all the branches into an internal class HashDecay.
loadClients()
- Static method in class com.perforce.api.
Client
Loads a list of all the clients into an internal class Hashtable.
loadClients(Env)
- Static method in class com.perforce.api.
Client
loadFields(Env, boolean)
- Static method in class com.perforce.api.
JobField
loadLabels()
- Static method in class com.perforce.api.
Label
Loads the list of labels using the default environment.
loadLabels(Env)
- Static method in class com.perforce.api.
Label
Loads a list of all the labels into an internal class HashDecay.
localizePath(String)
- Static method in class com.perforce.api.
FileEntry
LOG_NONE
- Static variable in class com.perforce.api.
Debug
LOG_ONLY
- Static variable in class com.perforce.api.
Debug
LOG_SPLIT
- Static variable in class com.perforce.api.
Debug
log(String)
- Method in class com.perforce.api.
EventLog
log(String, String)
- Method in class com.perforce.api.
EventLog
log(String, String, boolean)
- Method in class com.perforce.api.
EventLog
Logs an event.
lookupBranches(String)
- Static method in class com.perforce.api.
Branch
Returns a list of branches that begin with the specified prefix.
lookupClient(Env, String)
- Static method in class com.perforce.api.
Client
Returns a list of clients that begin with the specified prefix.
lookupClient(String)
- Static method in class com.perforce.api.
Client
Returns a list of clients that begin with the specified prefix.
lookupLabels(String)
- Static method in class com.perforce.api.
Label
Returns a list of labels that begin with the specified prefix.
lookupMappings(HashDecay, String)
- Static method in class com.perforce.api.
Mapping
Returns a list of mappings that begin with the specified prefix.
M
main(String[])
- Static method in class com.perforce.api.
User
main(String[])
- Static method in class com.perforce.api.
P4JNI
main(String[])
- Static method in class com.perforce.api.
Utils
main(String[])
- Static method in class com.perforce.api.
Client
main(String[])
- Static method in class com.perforce.api.
Change
Mapping
- class com.perforce.api.
Mapping
.
Representation of a source control mapping.
Mapping()
- Constructor for class com.perforce.api.
Mapping
Default no-argument constructor.
Mapping(String)
- Constructor for class com.perforce.api.
Mapping
Constructor that is passed the mapping name.
MIN_DELAY
- Static variable in class com.perforce.api.
HashDecay
The minimum delay allowed
N
NONE
- Static variable in class com.perforce.api.
Debug
No debug messages are displayed.
NOTICE
- Static variable in class com.perforce.api.
Debug
Error, warning, and notice messages are displayed.
notify(String)
- Static method in class com.perforce.api.
Debug
Displays a notice message for debugging.
notify(String, String[])
- Static method in class com.perforce.api.
Debug
Displays a notice message for debugging.
O
obtainLock()
- Method in class com.perforce.api.
FileEntry
ONCE
- Static variable in class com.perforce.api.
JobField
Field type has set once to the default and never changed
OPEN
- Static variable in class com.perforce.api.
Job
Indicates that the Job is open.
openForAdd()
- Method in class com.perforce.api.
FileEntry
openForAdd(Change)
- Method in class com.perforce.api.
FileEntry
openForAdd(Env, String, Change)
- Static method in class com.perforce.api.
FileEntry
Opens the file on the path for add under the change.
openForEdit()
- Method in class com.perforce.api.
FileEntry
openForEdit(boolean, boolean)
- Method in class com.perforce.api.
FileEntry
openForEdit(boolean, boolean, Change)
- Method in class com.perforce.api.
FileEntry
openForEdit(Env, String, boolean, boolean, boolean, Change)
- Static method in class com.perforce.api.
FileEntry
Opens the file on the path for edit under the change.
OPTIONAL
- Static variable in class com.perforce.api.
JobField
Field type has no default, not required to be present
out_read(char[], int, int)
- Method in class com.perforce.api.
P4JNI
out(int, String)
- Static method in class com.perforce.api.
Debug
out(int, String, String[])
- Static method in class com.perforce.api.
Debug
out(int, Throwable)
- Static method in class com.perforce.api.
Debug
out(String, int, Throwable)
- Static method in class com.perforce.api.
Debug
outClose()
- Method in class com.perforce.api.
P4Process
Flushes and closes the output stream to the process.
outOfSync(long)
- Method in class com.perforce.api.
SourceControlObject
outOfSync(long)
- Method in interface com.perforce.api.
Cacheable
Tests this object to see if it is out of sync.
P
P4JNI
- class com.perforce.api.
P4JNI
.
This class handles the Java Native Interface to the P4 libraries.
P4JNI()
- Constructor for class com.perforce.api.
P4JNI
P4Process
- class com.perforce.api.
P4Process
.
Handles the execution of all perforce commands.
P4Process()
- Constructor for class com.perforce.api.
P4Process
Default no-argument constructor.
P4Process(Env)
- Constructor for class com.perforce.api.
P4Process
Constructor that specifies the source control environment.
PENDING
- Static variable in class com.perforce.api.
Change
Indicates that the Change is pending submission.
PerforceException
- exception com.perforce.api.
PerforceException
.
Signals that a general exception occurred when working with Perforce.
PerforceException(String)
- Constructor for class com.perforce.api.
PerforceException
print(String)
- Method in class com.perforce.api.
P4Process
Writes
line
to the standard input of the process.
println(String)
- Method in class com.perforce.api.
P4Process
Writes
line
to the standard input of the process.
printLog(EventLog, PrintWriter, String)
- Static method in class com.perforce.api.
EventLog
printLog(PrintWriter, String)
- Static method in class com.perforce.api.
EventLog
put(Object, Cacheable)
- Method in class com.perforce.api.
HashDecay
put(Object, Object)
- Method in class com.perforce.api.
HashDecay
R
readLine()
- Method in class com.perforce.api.
P4Process
Returns the next line from the process, or null if the command has completed its execution.
refreshUpdateTime()
- Method in class com.perforce.api.
SourceControlObject
refreshUpdateTime()
- Method in interface com.perforce.api.
Cacheable
Sets the update time for this object to the current time.
removeFix(int)
- Method in class com.perforce.api.
Job
REQUIRED
- Static variable in class com.perforce.api.
JobField
Field type has default provided, value must be present
resolve(boolean)
- Method in class com.perforce.api.
Change
resolve(boolean)
- Method in class com.perforce.api.
FileEntry
resolveAll(Env, String, String)
- Static method in class com.perforce.api.
FileEntry
resolveAT(Env, Enumeration)
- Static method in class com.perforce.api.
FileEntry
revert()
- Method in class com.perforce.api.
FileEntry
run()
- Method in class com.perforce.api.
P4JNI
run()
- Method in class com.perforce.api.
HashDecay
runCommand(Object, String[], Env)
- Method in class com.perforce.api.
P4JNI
S
SELECT
- Static variable in class com.perforce.api.
JobField
Data type is one of a set of words
setBase(P4Process)
- Static method in class com.perforce.api.
P4Process
Sets the base process to be used when new processes are instantiated.
setClient(String)
- Method in class com.perforce.api.
Env
Sets the P4CLIENT in the class information.
setClientName(String)
- Method in class com.perforce.api.
Change
setClientPath(String)
- Method in class com.perforce.api.
FileEntry
Sets the client path for this file.
setCode(int)
- Method in class com.perforce.api.
JobField
setDataType(int)
- Method in class com.perforce.api.
JobField
setDataType(String)
- Method in class com.perforce.api.
JobField
setDebugLevel(int)
- Static method in class com.perforce.api.
Debug
Sets the debug level for the application.
setDelay(long)
- Method in class com.perforce.api.
HashDecay
Sets the delay, in milliseconds, before items in the hashtable are discarded.
setDepotPath(String)
- Method in class com.perforce.api.
FileEntry
Sets the depot path for this file.
setDescription(String)
- Method in class com.perforce.api.
Job
Sets the description for the job.
setDescription(String)
- Method in class com.perforce.api.
Mapping
Sets the description for the Mapping.
setDescription(String)
- Method in class com.perforce.api.
Change
Sets the description for the change.
setDescription(String)
- Method in class com.perforce.api.
FileEntry
setEmail(String)
- Method in class com.perforce.api.
User
Sets the e-mail address for this user.
setEnv(Env)
- Method in class com.perforce.api.
SourceControlObject
Sets the P4 environment to be used when working with this object.
setEnv(Env)
- Method in class com.perforce.api.
P4Process
Sets the environment to use.
setEventLog(EventLog)
- Method in class com.perforce.api.
P4Process
Sets the event log.
setEventLog(EventLog)
- Static method in class com.perforce.api.
Debug
setExecutable(String)
- Method in class com.perforce.api.
Env
Sets up the path to reach the p4 executable.
setField(String, String)
- Method in class com.perforce.api.
Job
setFieldType(int)
- Method in class com.perforce.api.
JobField
setFieldType(String)
- Method in class com.perforce.api.
JobField
setFromProperties(Properties)
- Method in class com.perforce.api.
Env
Uses a set of
Properties
to set up the environment.
setFullName(String)
- Method in class com.perforce.api.
User
Sets the full name of this user.
setHaveRev(int)
- Method in class com.perforce.api.
FileEntry
setHeadAction(String)
- Method in class com.perforce.api.
FileEntry
setHeadChange(int)
- Method in class com.perforce.api.
FileEntry
setHeadDate(String)
- Method in class com.perforce.api.
FileEntry
setHeadRev(int)
- Method in class com.perforce.api.
FileEntry
setHeadTime(long)
- Method in class com.perforce.api.
FileEntry
setHeadType(String)
- Method in class com.perforce.api.
FileEntry
setId(String)
- Method in class com.perforce.api.
User
Sets the id for this user.
setLength(int)
- Method in class com.perforce.api.
JobField
setLogLevel(int)
- Static method in class com.perforce.api.
Debug
setLogLevel(String)
- Static method in class com.perforce.api.
Debug
setModtimeString(String)
- Method in class com.perforce.api.
Job
setModtimeString(String)
- Method in class com.perforce.api.
Change
setName(String)
- Method in class com.perforce.api.
Job
Sets the job name for the Job.
setName(String)
- Method in class com.perforce.api.
Mapping
Sets the name of the Mapping.
setName(String)
- Method in class com.perforce.api.
JobField
setNumber(int)
- Method in class com.perforce.api.
Change
Sets the change number for the Change.
setOptions(String)
- Method in class com.perforce.api.
Client
Sets the options for the Client.
setOwner(String)
- Method in class com.perforce.api.
Mapping
Sets the owner of the Mapping.
setOwner(String)
- Method in class com.perforce.api.
FileEntry
setPassword(String)
- Method in class com.perforce.api.
Env
Sets the P4PASSWD in the class information.
setPath(String)
- Method in class com.perforce.api.
DirEntry
setPath(String)
- Method in class com.perforce.api.
Env
Sets the PATH in the class information.
setPort(String)
- Method in class com.perforce.api.
Env
Sets the P4PORT in the class information.
setPreset(String)
- Method in class com.perforce.api.
JobField
setProperties(Properties)
- Static method in class com.perforce.api.
Debug
setRoot(String)
- Method in class com.perforce.api.
Client
Sets the root for the Client.
setShowThread(boolean)
- Static method in class com.perforce.api.
Debug
setSize(int)
- Method in class com.perforce.api.
EventLog
Sets the size of the log.
setSource(FileEntry)
- Method in class com.perforce.api.
FileEntry
setStatus(int)
- Method in class com.perforce.api.
Job
Sets status for the Job.
setStatus(int)
- Method in class com.perforce.api.
Change
Sets status for the Change.
setStatus(String)
- Method in class com.perforce.api.
Job
Sets status for the Job.
setSystemDrive(String)
- Method in class com.perforce.api.
Env
Sets the SystemDrive in the class information.
setSystemRoot(String)
- Method in class com.perforce.api.
Env
Sets the SystemRoot in the class information.
setTitle(String)
- Method in class com.perforce.api.
EventLog
Sets the title for this log.
setUser(String)
- Method in class com.perforce.api.
Job
Sets the User that owns this Job.
setUser(String)
- Method in class com.perforce.api.
Env
Sets the P4USER in the class information.
setUser(User)
- Method in class com.perforce.api.
Change
Sets the User that owns this Change.
SourceControlObject
- class com.perforce.api.
SourceControlObject
.
An abstract base class for all source control objects.
SourceControlObject()
- Constructor for class com.perforce.api.
SourceControlObject
SourceControlObject(Env)
- Constructor for class com.perforce.api.
SourceControlObject
start()
- Method in class com.perforce.api.
HashDecay
store()
- Method in class com.perforce.api.
Job
Stores the job information back into perforce.
store()
- Method in class com.perforce.api.
Label
Stores the label information back into p4, creating the label if it didn't already exist.
store()
- Method in class com.perforce.api.
Client
Stores the client information back into p4, creating the client if it didn't already exist.
store()
- Method in class com.perforce.api.
Change
Updates the change or creates a pending change.
store()
- Method in class com.perforce.api.
Branch
Stores the branch information back into p4, creating the branch if it didn't already exist.
submit()
- Method in class com.perforce.api.
Change
Submits the change, if it is pending.
SubmitException
- exception com.perforce.api.
SubmitException
.
Signals that an exception occurred during a submit to Perforce.
SubmitException(String)
- Constructor for class com.perforce.api.
SubmitException
SUBMITTED
- Static variable in class com.perforce.api.
Change
Indicates that the Change has been submitted.
SUSPENDED
- Static variable in class com.perforce.api.
Job
Indicates that the Job is suspended.
sync()
- Method in class com.perforce.api.
SourceControlObject
Brings this object back into sync with Perforce.
sync()
- Method in class com.perforce.api.
User
Synchronizes the user information with P4.
sync()
- Method in class com.perforce.api.
Job
Synchronizes the Job with the correct information from P4, using whatever job number has already been set in the Job.
sync()
- Method in class com.perforce.api.
DirEntry
sync()
- Method in class com.perforce.api.
Label
sync()
- Method in interface com.perforce.api.
Cacheable
Brings this object back into sync with Perforce.
sync()
- Method in class com.perforce.api.
Client
sync()
- Method in class com.perforce.api.
Change
Synchronizes the Change with the correct information from P4, using whatever change number has already been set in the Change.
sync()
- Method in class com.perforce.api.
FileEntry
Synchronizes the user information with P4.
sync()
- Method in class com.perforce.api.
Branch
sync(int)
- Method in class com.perforce.api.
Change
Sycnhronizes the Change with the correct information from P4.
sync(String)
- Method in class com.perforce.api.
User
Synchronizes the user information with P4.
sync(String)
- Method in class com.perforce.api.
Job
Sycnhronizes the Job with the correct information from P4.
sync(String)
- Method in class com.perforce.api.
Mapping
Synchronizes the Mapping with the latest information from P4.
sync(String)
- Method in class com.perforce.api.
Label
Synchronizes the Label with the latest information from P4.
sync(String)
- Method in class com.perforce.api.
Client
Synchronizes the Client with the latest information from P4.
sync(String)
- Method in class com.perforce.api.
Branch
Synchronizes the Branch with the latest information from P4.
syncMySpace(Env, String)
- Method in class com.perforce.api.
FileEntry
syncWorkspace(Env, String)
- Static method in class com.perforce.api.
FileEntry
T
TEXT
- Static variable in class com.perforce.api.
JobField
Data type is a block of text
toString()
- Method in class com.perforce.api.
User
toString()
- Method in class com.perforce.api.
Job
Overrides the default toString() method.
toString()
- Method in class com.perforce.api.
P4Process
toString()
- Method in class com.perforce.api.
Mapping
toString()
- Method in class com.perforce.api.
Env
toString()
- Method in class com.perforce.api.
Change
Overrides the default toString() method.
toString()
- Method in class com.perforce.api.
FileEntry
if (l.trim().equals("")) { if (null != nfe.getDepotPath() && (! (igndel && nfe.getHeadAction().equals("delete")))) { v.addElement(nfe); } if (null == fe) { nfe = new FileEntry(); nfe.setEnv(p.getEnv()); } } if (l.startsWith("#")) { continue; } if (l.startsWith("...
toXML()
- Method in class com.perforce.api.
SourceControlObject
Returns a string containg the object in XML form.
toXML()
- Method in class com.perforce.api.
Mapping
toXML()
- Method in class com.perforce.api.
Env
Returns an XML representation of the environment.
U
User
- class com.perforce.api.
User
.
Representation of a source control user.
User()
- Constructor for class com.perforce.api.
User
Default no-argument constructor.
User(String)
- Constructor for class com.perforce.api.
User
Constructor that accepts the id of the user.
Utils
- class com.perforce.api.
Utils
.
Class that contains static utility methods.
Utils()
- Constructor for class com.perforce.api.
Utils
V
VERBOSE
- Static variable in class com.perforce.api.
Debug
Error, warning, notice, and verbose messages are displayed.
verbose(String)
- Static method in class com.perforce.api.
Debug
Displays a verbose message for debugging.
verbose(String, String[])
- Static method in class com.perforce.api.
Debug
Displays a verbose message for debugging.
W
warn(String)
- Static method in class com.perforce.api.
Debug
Displays a warning message for debugging.
WARNING
- Static variable in class com.perforce.api.
Debug
Error and warning messages are displayed.
wildPathMatch(String, String)
- Static method in class com.perforce.api.
Utils
WORD
- Static variable in class com.perforce.api.
JobField
Data type is a single word (any value)
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
U
V
W
Package
Class
Use
Tree
Index
Help
PREV NEXT
FRAMES
NO FRAMES
Copyright
© 2001, Perforce Software, All rights reserved.