Perforce

Uses of Class
com.perforce.api.Env

Uses of Env in com.perforce.api
 

Methods in com.perforce.api that return Env
 Env P4Process.getEnv()
          Returns the environment in use by this process.
 Env SourceControlObject.getEnv()
          Returns the P4 environment associated with this instance.
 

Methods in com.perforce.api with parameters of type Env
static boolean Branch.canIntegrate(Env env, String source, String target, StringBuffer sb)
          Check for the integration feasibility on the named branch.
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 void Job.fix(Env env, String changelist, boolean del, String job)
           
static void Job.fix(Env env, String changelist, boolean del, Vector jobs)
           
static Branch Branch.getBranch(Env env, String name, boolean force)
          Returns a Branch with the specified name, or null if not found.
static Enumeration Branch.getBranches(Env env)
           
static Iterator Branch.getBranchIterator(Env env)
           
static 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, String number, boolean force)
           
static Change[] Job.getChangeFixes(Env env, String jobname, 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, String path)
           
static Change[] Change.getChanges(Env env, String path, int max, String start, String end, boolean use_integs, String ufilter)
           
static Client Client.getClient(Env env, String name)
          Returns a Client with the specified name, or null if not found.
static Iterator Client.getClientIterator(Env env)
           
static 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, String path, boolean sync)
          Returns a directory entry for the supplied path.
 String[] DirEntry.getDirNames(Env env)
          Returns an array of directory names.
 String FileEntry.getFileContents(Env env, String path)
          Returns a String that contains this file's contents.
static Vector FileEntry.getFileLog(Env env, String path)
          Returns a list of FileEntry objects that represent the history of the specified file.
 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 Vector FileEntry.getFiles(Env env, String path)
          Returns the list of files for the path.
static Job Job.getJob(Env env, String name)
          Returns the job with the specified name.
static Job[] Job.getJobFixes(Env env, String change, 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, String jobview, int max, boolean use_integs, String[] files)
           
static Label Label.getLabel(Env env, String name, boolean force)
          Returns a Label with the specified name, or null if not found.
static Iterator Label.getLabelIterator(Env env)
           
static Enumeration Label.getLabelNames(Env env)
           
static Enumeration Label.getLabels(Env env)
           
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.
static User User.getUser(Env env, String uid)
          Gets the user information for the specified user.
static Enumeration User.getUsers(Env env)
          Returns an Enumeration of all User objects.
static Change Branch.integrate(Env env, String source, String target, StringBuffer sb, Change c)
          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, Vector fents, String branch, StringBuffer sb, String description)
          Integrate a set of files using the named branch.
static boolean Branch.integrated(Env env, String source, String target, StringBuffer sb)
          Check for the integration history on 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 Enumeration Client.lookupClient(Env env, String prefix)
          Returns a list of clients that begin with the specified prefix.
static Enumeration Label.lookupLabels(Env env, String prefix)
          Returns a list of labels that begin with the specified prefix.
static FileEntry FileEntry.openForAdd(Env env, String path, Change chng)
          Opens the file on the path for add under the change.
static FileEntry FileEntry.openForEdit(Env env, String path, boolean sync, boolean lock, Change chng)
          Opens the file on the path for edit under the change.
static String FileEntry.resolveAll(Env env, String flags, String path)
          Resolves all the files in the path.
static String FileEntry.resolveAT(Env env, Enumeration en)
          Forces a resolve on a set of files.
 void P4JNI.runCommand(Object listener, String[] cmd, Env environ)
           
 void P4Process.setEnv(Env e)
          Sets the environment to use.
 void SourceControlObject.setEnv(Env env)
          Sets the P4 environment to be used when working with this object.
static Vector FileEntry.synchronizeWorkspace(Env env, String path)
          Returns a Vector of FileEntry objects that reflect what files were changed by the sync process.
 String FileEntry.syncMySpace(Env env, String path)
          Deprecated.  
static String FileEntry.syncWorkspace(Env env, String path)
          Synchronizes the workspace.
static String FileEntry.syncWorkspace(Env env, String path, boolean force)
          Synchronizes the workspace.
 

Constructors in com.perforce.api with parameters of type Env
Change(Env environ)
           
Client(Env env, String name)
          Constructor that is passed the client name.
Counter(Env environ, String name)
           
DirEntry(Env e)
          Constructs a directory entry.
DirEntry(Env e, 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, String p)
          Constructs a file entry using the environment and path.
Job(Env env)
          Default no-argument constructor.
Job(Env env, 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.
 


Perforce

Copyright © 2001, Perforce Software, All rights reserved.