|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Env | |
|---|---|
| com.perforce.api | Provides legacy perforce.com API classes. |
| com.tek42.perforce | Provides a java API for interacting with Perforce SCM. |
| Uses of Env in com.perforce.api |
|---|
| Methods in com.perforce.api that return Env | |
|---|---|
Env |
SourceControlObject.getEnv()
Returns the P4 environment associated with this instance. |
Env |
P4Process.getEnv()
Returns the environment in use by this process. |
| Methods in com.perforce.api with parameters of type Env | |
|---|---|
static FileEntry |
FileEntry.checkIn(Env env,
java.lang.String path,
java.lang.String description)
Checks in a file that has already been opened on the client using the description given. |
static void |
Job.fix(Env env,
java.lang.String changelist,
boolean del,
java.lang.String job)
|
static void |
Job.fix(Env env,
java.lang.String changelist,
boolean del,
java.util.Vector jobs)
|
static Branch |
Branch.getBranch(Env env,
java.lang.String name,
boolean force)
Returns a Branch with the specified name, or null if not found. |
static java.util.Enumeration |
Branch.getBranches(Env env)
|
static java.util.Iterator |
Branch.getBranchIterator(Env env)
|
static java.util.Enumeration |
Branch.getBranchNames(Env env)
Returns list of all branch names. |
static Change |
Change.getChange(Env env,
int number,
boolean force)
|
static Change |
Change.getChange(Env env,
java.lang.String number,
boolean force)
|
static Change[] |
Job.getChangeFixes(Env env,
java.lang.String jobname,
java.lang.String[] files)
Returns an array of changes that are fixed by the named job, limited to the list of files if specified. |
static Change[] |
Change.getChanges(Env env,
java.lang.String path)
|
static Change[] |
Change.getChanges(Env env,
java.lang.String path,
int max,
java.lang.String start,
java.lang.String end,
boolean use_integs,
java.lang.String ufilter)
|
static Client |
Client.getClient(Env env,
java.lang.String name)
Returns a Client with the specified name, or null if not found. |
static java.util.Iterator |
Client.getClientIterator(Env env)
|
static java.util.Enumeration |
Client.getClients(Env env)
|
static Counter[] |
Counter.getCounters(Env env)
Returns an array of all the Counters established on the server. |
static DirEntry |
DirEntry.getDirEntry(Env env,
java.lang.String path,
boolean sync)
Returns a directory entry for the supplied path. |
java.lang.String[] |
DirEntry.getDirNames(Env env)
Returns an array of directory names. |
java.lang.String |
FileEntry.getFileContents(Env env,
java.lang.String path)
Returns a String that contains this file's contents. |
static java.util.Vector |
FileEntry.getFileLog(Env env,
java.lang.String path)
Returns a list of FileEntry objects that represent the
history of the specified file. |
java.lang.String[] |
DirEntry.getFileNames(Env env)
Returns an array of file names for this directory. |
FileEntry[] |
DirEntry.getFiles(Env env)
Returns an array of file entries for this directory. |
static java.util.Vector |
FileEntry.getFiles(Env env,
java.lang.String path)
Returns the list of files for the path. |
static Job |
Job.getJob(Env env,
java.lang.String name)
Returns the job with the specified name. |
static Job[] |
Job.getJobFixes(Env env,
java.lang.String change,
java.lang.String[] files)
Returns an array of jobs that fix the specified change, limited to the list of files if specified. |
static Job[] |
Job.getJobs(Env env)
|
static Job[] |
Job.getJobs(Env env,
java.lang.String jobview,
int max,
boolean use_integs,
java.lang.String[] files)
|
static Label |
Label.getLabel(Env env,
java.lang.String name,
boolean force)
Returns a Label with the specified name, or null if not found. |
static java.util.Iterator |
Label.getLabelIterator(Env env)
|
static java.util.Enumeration |
Label.getLabelNames(Env env)
|
static java.util.Enumeration |
Label.getLabels(Env env)
|
static java.util.Vector |
FileEntry.getOpened(Env env,
boolean stat)
Returns a list of files that are open for edit or add. |
static java.util.Vector |
FileEntry.getOpened(Env env,
boolean stat,
boolean all,
int changelist,
java.util.Vector files)
Returns a list of files that are open for edit or add. |
static User |
User.getUser(Env env,
java.lang.String uid)
Gets the user information for the specified user. |
static java.util.Enumeration |
User.getUsers(Env env)
Returns an Enumeration of all User objects. |
static Change |
Branch.integrate(Env env,
java.lang.String source,
java.lang.String branch,
java.lang.StringBuffer sb,
Change c)
Integrate a set of files using the named branch. |
static Change |
Branch.integrate(Env env,
java.util.Vector fents,
java.lang.String branch,
java.lang.StringBuffer sb,
Change c)
Integrate a set of files using the named branch. |
static Change |
Branch.integrate(Env env,
java.util.Vector fents,
java.lang.String branch,
java.lang.StringBuffer sb,
java.lang.String description)
Integrate a set of files using the named branch. |
static void |
Branch.loadBranches(Env env)
Loads a list of all the branches into an internal class HashDecay. |
static void |
Client.loadClients(Env env)
Loads a list of all the clients into an internal class Hashtable. |
static void |
JobField.loadFields(Env env,
boolean redo)
|
static void |
Label.loadLabels(Env env)
Loads a list of all the labels into an internal class HashDecay. |
static java.util.Enumeration |
Client.lookupClient(Env env,
java.lang.String prefix)
Returns a list of clients that begin with the specified prefix. |
static java.util.Enumeration |
Label.lookupLabels(Env env,
java.lang.String prefix)
Returns a list of labels that begin with the specified prefix. |
static FileEntry |
FileEntry.openForAdd(Env env,
java.lang.String path,
Change chng)
Opens the file on the path for add under the change. |
static FileEntry |
FileEntry.openForEdit(Env env,
java.lang.String path,
boolean sync,
boolean force,
boolean lock,
Change chng)
Opens the file on the path for edit under the change. |
static java.lang.String |
FileEntry.resolveAll(Env env,
java.lang.String flags,
java.lang.String path)
Resolves all the files in the path. |
static java.lang.String |
FileEntry.resolveAT(Env env,
java.util.Enumeration en)
Forces a resolve on a set of files. |
void |
P4JNI.runCommand(java.lang.Object listener,
java.lang.String[] cmd,
Env environ)
|
void |
SourceControlObject.setEnv(Env env)
Sets the P4 environment to be used when working with this object. |
void |
P4Process.setEnv(Env e)
Sets the environment to use. |
static java.util.Vector |
FileEntry.synchronizeWorkspace(Env env,
java.lang.String path)
Returns a Vector of FileEntry objects that
reflect what files were changed by the sync process. |
java.lang.String |
FileEntry.syncMySpace(Env env,
java.lang.String path)
Deprecated. |
static java.lang.String |
FileEntry.syncWorkspace(Env env,
java.lang.String path)
Synchronizes the workspace. |
| Constructors in com.perforce.api with parameters of type Env | |
|---|---|
Change(Env environ)
|
|
Client(Env env,
java.lang.String name)
Constructor that is passed the client name. |
|
Counter(Env environ,
java.lang.String name)
|
|
DirEntry(Env e)
Constructs a directory entry. |
|
DirEntry(Env e,
java.lang.String path)
Constructs a directory entry. |
|
Env(Env base)
Constructor that uses another environment as its basis. |
|
FileEntry(Env env)
Constructs a file entry using the environment. |
|
FileEntry(Env env,
java.lang.String p)
Constructs a file entry using the environment and path. |
|
Job(Env env)
Default no-argument constructor. |
|
Job(Env env,
java.lang.String name)
|
|
P4Process(Env e)
Constructor that specifies the source control environment. |
|
SourceControlObject(Env env)
Constructor that takes an environment for this object to use. |
|
| Uses of Env in com.tek42.perforce |
|---|
| Methods in com.tek42.perforce that return Env | |
|---|---|
Env |
Depot.getPerforceEnv()
Obtain a legacy perforce Env object for using legacy API. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||