|
||||||||
PREV NEXT | FRAMES NO FRAMES |
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 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. |
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)
|
void |
P4JNI.runCommand(Object listener,
String[] cmd,
Env environ)
|
void |
P4Process.setEnv(Env e)
Sets the environment to use. |
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 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 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 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 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. |
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 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. |
Constructors in com.perforce.api with parameters of type Env | |
SourceControlObject(Env env)
Constructor that takes an environment for this object to use. |
|
P4Process(Env e)
Constructor that specifies the source control environment. |
|
DirEntry(Env e)
Constructs a directory entry. |
|
DirEntry(Env e,
String path)
Constructs a directory entry. |
|
Counter(Env environ,
String name)
|
|
Env(Env base)
Constructor that uses another environment as its basis. |
|
Client(Env env,
String name)
Constructor that is passed the client name. |
|
FileEntry(Env env)
Constructs a file entry using the environment. |
|
FileEntry(Env env,
String p)
Constructs a file entry using the environment and path. |
|
Change(Env environ)
|
|
||||||||
PREV NEXT | FRAMES NO FRAMES |