Package | Description |
---|---|
com.perforce.p4java.core.file |
Provides interfaces and classes for defining and accessing Perforce depot and workspace files.
|
com.perforce.p4java.impl.generic.core.file |
Provides standard implementation classes for the com.perforce.p4java.core.file interfaces.
|
Modifier and Type | Method and Description |
---|---|
static FileAction |
FileAction.fromString(String str)
A user-friendly fail-safe way to convert from strings to file actions
without generating exceptions, etc.
|
FileAction |
IFileRevisionData.getAction()
Get the file action associated with this revision.
|
FileAction |
IFileSpec.getAction()
Returns the file action associated with this file, if any.
|
FileAction |
IExtendedFileSpec.getHeadAction() |
FileAction |
IExtendedFileSpec.getOpenAction() |
FileAction |
IFileSpec.getOtherAction()
Get the other action.
|
FileAction |
IResolveRecord.getResolveAction() |
static FileAction |
FileAction.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileAction[] |
FileAction.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
IFileSpec.setAction(FileAction action)
Set the file action for this file spec.
|
void |
IExtendedFileSpec.setHeadAction(FileAction action) |
void |
IExtendedFileSpec.setOpenAction(FileAction action) |
void |
IFileSpec.setOtherAction(FileAction action)
Set the other action for this file spec.
|
void |
IResolveRecord.setResolveAction(FileAction action) |
Modifier and Type | Field and Description |
---|---|
protected FileAction |
FileSpec.action |
Modifier and Type | Method and Description |
---|---|
FileAction |
FileRevisionData.getAction() |
FileAction |
FileSpec.getAction() |
FileAction |
ExtendedFileSpec.getHeadAction() |
FileAction |
ExtendedFileSpec.getOpenAction() |
FileAction |
FileSpec.getOtherAction() |
FileAction |
ResolveRecord.getResolveAction() |
Modifier and Type | Method and Description |
---|---|
void |
FileRevisionData.setAction(FileAction action) |
void |
FileSpec.setAction(FileAction action) |
void |
ExtendedFileSpec.setHeadAction(FileAction headAction) |
void |
ExtendedFileSpec.setOpenAction(FileAction openAction) |
void |
FileSpec.setOtherAction(FileAction otherAction) |
void |
ResolveRecord.setResolveAction(FileAction resolveAction) |
Constructor and Description |
---|
FileRevisionData(int revision,
int changeListId,
FileAction action,
Date date,
String userName,
String fileType,
String description,
String depotFileName,
String clientName) |
ResolveRecord(FileAction resolveAction,
String resolveBaseFile,
int resolveBaseRevision,
int resolveEndFromRevision,
String resolveFromFile,
int resolveStartFromRevision)
Explicit-value constructor.
|
Copyright © 2017 Perforce Software. All Rights Reserved.