Perforce

Uses of Class
com.perforce.api.Env

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
 void SourceControlObject.setEnv(Env env)
          Sets the P4 environment to be used when working with this object.
static Client Client.getClient(Env env, String name)
          Returns a Client with the specified name, or null if not found.
static Enumeration Client.lookupClient(Env env, String prefix)
          Returns a list of clients that begin with the specified prefix.
static Enumeration Client.getClients(Env env)
          Returns a list of all the clients currently loaded.
static void Client.loadClients(Env env)
          Loads a list of all the clients into an internal class Hashtable.
static DirEntry DirEntry.getDirEntry(Env env, String path, boolean sync)
          Returns a directory entry for the supplied path.
 String[] DirEntry.getDirNames(Env env)
          Returns an array of directory names.
 FileEntry[] DirEntry.getFiles(Env env)
          Returns an array of file entries for this directory.
 String[] DirEntry.getFileNames(Env env)
          Returns an array of file names for this directory.
static void Branch.loadBranches(Env env)
          Loads a list of all the branches into an internal class HashDecay.
static Enumeration Branch.getBranchNames(Env env)
          Returns list of all branch names.
static Enumeration Branch.getBranches(Env env)
          Returns list of all branches.
static Branch Branch.getBranch(Env env, String name, boolean force)
          Returns a Branch with the specified name, or null if not found.
static Change Branch.integrate(Env env, Vector fents, String branch, StringBuffer sb, String description)
          Integrate a set of files using the named branch.
static Change Branch.integrate(Env env, Vector fents, String branch, StringBuffer sb, Change c)
          Integrate a set of files using the named branch.
static Change Branch.integrate(Env env, String source, String branch, StringBuffer sb, Change c)
          Integrate a set of files using the named branch.
static Enumeration User.getUsers(Env env)
          Returns an Enumeration of all User objects.
static User User.getUser(Env env, String uid)
          Returns a User object representing the user.
 void P4Process.setEnv(Env e)
          Sets the environment to use.
static Counter[] Counter.getCounters(Env env)
          Returns an array of all the Counters established on the server.
static void Label.loadLabels(Env env)
          Loads a list of all the labels into an internal class HashDecay.
static Enumeration Label.getLabelNames(Env env)
           
static Enumeration Label.getLabels(Env env)
           
static Label Label.getLabel(Env env, String name, boolean force)
          Returns a Label with the specified name, or null if not found.
static void JobField.loadFields(Env env, boolean redo)
           
static Change Change.getChange(Env env, String number, boolean force)
           
static Change Change.getChange(Env env, int number, boolean force)
           
static Change[] Change.getChanges(Env env, String path)
           
static Change[] Change.getChanges(Env env, String path, int max, String start, String end, boolean use_integs, String ufilter)
           
static Job Job.getJob(Env env, String name)
          Returns the job with the specified name.
static void Job.fix(Env env, String changelist, boolean del, String job)
           
static void Job.fix(Env env, String changelist, boolean del, Vector jobs)
           
static Job[] Job.getJobs(Env env, String jobview, int max, boolean use_integs, String[] files)
           
static Change[] Job.getChangeFixes(Env env, String jobname, String[] files)
           
static String FileEntry.resolveAT(Env env, Enumeration en)
          Forces a resolve on a set of files.
static String FileEntry.resolveAll(Env env, String flags, String path)
          Resolves all the files in the path.
static Vector FileEntry.getFiles(Env env, String path)
          Returns the list of files for the path.
static Vector FileEntry.getFileLog(Env env, String path)
          Returns a list of FileEntry objects that represent the history of the specified file.
static FileEntry FileEntry.openForEdit(Env env, String path, boolean sync, boolean force, boolean lock, Change chng)
          Opens the file on the path for edit under the change.
static FileEntry FileEntry.openForAdd(Env env, String path, Change chng)
          Opens the file on the path for add under the change.
static FileEntry FileEntry.checkIn(Env env, String path, String description)
          Checks in a file that has already been opened on the client using the description given.
static Vector FileEntry.getOpened(Env env, boolean stat)
          Returns a list of files that are open for edit or add.
static Vector FileEntry.getOpened(Env env, boolean stat, boolean all, int changelist, Vector files)
          Returns a list of files that are open for edit or add.
 String FileEntry.syncMySpace(Env env, String path)
          Deprecated.  
static String FileEntry.syncWorkspace(Env env, String path)
          Synchronizes the workspace.
 String FileEntry.getFileContents(Env env, String path)
          Returns a String that contains this file's contents.
 void P4JNI.runCommand(Object listener, String[] cmd, Env environ)
           
 

Constructors in com.perforce.api with parameters of type Env
SourceControlObject(Env env)
          Constructor that takes an environment for this object to use.
Client(Env env, String name)
          Constructor that is passed the client name.
DirEntry(Env e)
          Constructs a directory entry.
DirEntry(Env e, String path)
          Constructs a directory entry.
P4Process(Env e)
          Constructor that specifies the source control environment.
Counter(Env environ, String name)
           
Env(Env base)
          Constructor that uses another environment as its basis.
Change(Env environ)
           
FileEntry(Env env)
          Constructs a file entry using the environment.
FileEntry(Env env, String p)
          Constructs a file entry using the environment and path.
 


Perforce

Copyright © 2001, Perforce Software, All rights reserved.