Class ResolveRecord
- java.lang.Object
-
- com.perforce.p4java.impl.generic.core.file.ResolveRecord
-
- All Implemented Interfaces:
IResolveRecord
public class ResolveRecord extends java.lang.Object implements IResolveRecord
Default implementation class for the IResolveRecord interface.
-
-
Constructor Summary
Constructors Constructor Description ResolveRecord()
Default constructor; sets all fields to zero or null.ResolveRecord(FileAction resolveAction, java.lang.String resolveBaseFile, int resolveBaseRevision, int resolveEndFromRevision, java.lang.String resolveFromFile, int resolveStartFromRevision)
Explicit-value constructor.ResolveRecord(java.util.Map<java.lang.String,java.lang.Object> map, int recNum)
Construct a new ResolveRecord from the passed-in map.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileAction
getResolveAction()
java.lang.String
getResolveBaseFile()
int
getResolveBaseRevision()
int
getResolveEndFromRevision()
java.lang.String
getResolveFromFile()
int
getResolveStartFromRevision()
java.lang.String
getResolveType()
void
setResolveAction(FileAction resolveAction)
void
setResolveBaseFile(java.lang.String resolveBaseFile)
void
setResolveBaseRevision(int resolveBaseRevision)
void
setResolveEndFromRevision(int resolveEndFromRevision)
void
setResolveFromFile(java.lang.String resolveFromFile)
void
setResolveStartFromRevision(int resolveStartFromRevision)
void
setResolveType(java.lang.String resolveType)
-
-
-
Constructor Detail
-
ResolveRecord
public ResolveRecord()
Default constructor; sets all fields to zero or null.
-
ResolveRecord
public ResolveRecord(FileAction resolveAction, java.lang.String resolveBaseFile, int resolveBaseRevision, int resolveEndFromRevision, java.lang.String resolveFromFile, int resolveStartFromRevision)
Explicit-value constructor.- Parameters:
resolveAction
- resolveActionresolveBaseFile
- resolveBaseFileresolveBaseRevision
- resolveBaseRevisionresolveEndFromRevision
- resolveEndFromRevisionresolveFromFile
- resolveFromFileresolveStartFromRevision
- resolveStartFromRevision
-
ResolveRecord
public ResolveRecord(java.util.Map<java.lang.String,java.lang.Object> map, int recNum)
Construct a new ResolveRecord from the passed-in map. This map is assumed to have been returned from the getExtendedFiles method; other maps will probably not work. The recNum parameter is used to tell the constructor which resolve rec to extract. If map is null and / or recNum is negative, this is equivalent to calling the default constructor.- Parameters:
map
- maprecNum
- recNum
-
-
Method Detail
-
getResolveAction
public FileAction getResolveAction()
- Specified by:
getResolveAction
in interfaceIResolveRecord
- See Also:
IResolveRecord.getResolveAction()
-
setResolveAction
public void setResolveAction(FileAction resolveAction)
- Specified by:
setResolveAction
in interfaceIResolveRecord
- See Also:
IResolveRecord.setResolveAction(com.perforce.p4java.core.file.FileAction)
-
getResolveBaseFile
public java.lang.String getResolveBaseFile()
- Specified by:
getResolveBaseFile
in interfaceIResolveRecord
- See Also:
IResolveRecord.getResolveBaseFile()
-
setResolveBaseFile
public void setResolveBaseFile(java.lang.String resolveBaseFile)
- Specified by:
setResolveBaseFile
in interfaceIResolveRecord
- See Also:
IResolveRecord.setResolveBaseFile(java.lang.String)
-
getResolveBaseRevision
public int getResolveBaseRevision()
- Specified by:
getResolveBaseRevision
in interfaceIResolveRecord
- See Also:
IResolveRecord.getResolveBaseRevision()
-
setResolveBaseRevision
public void setResolveBaseRevision(int resolveBaseRevision)
- Specified by:
setResolveBaseRevision
in interfaceIResolveRecord
- See Also:
IResolveRecord.setResolveBaseRevision(int)
-
getResolveEndFromRevision
public int getResolveEndFromRevision()
- Specified by:
getResolveEndFromRevision
in interfaceIResolveRecord
- See Also:
IResolveRecord.getResolveEndFromRevision()
-
setResolveEndFromRevision
public void setResolveEndFromRevision(int resolveEndFromRevision)
- Specified by:
setResolveEndFromRevision
in interfaceIResolveRecord
- See Also:
IResolveRecord.setResolveEndFromRevision(int)
-
getResolveFromFile
public java.lang.String getResolveFromFile()
- Specified by:
getResolveFromFile
in interfaceIResolveRecord
- See Also:
IResolveRecord.getResolveFromFile()
-
setResolveFromFile
public void setResolveFromFile(java.lang.String resolveFromFile)
- Specified by:
setResolveFromFile
in interfaceIResolveRecord
- See Also:
IResolveRecord.setResolveFromFile(java.lang.String)
-
getResolveStartFromRevision
public int getResolveStartFromRevision()
- Specified by:
getResolveStartFromRevision
in interfaceIResolveRecord
- See Also:
IResolveRecord.getResolveStartFromRevision()
-
setResolveStartFromRevision
public void setResolveStartFromRevision(int resolveStartFromRevision)
- Specified by:
setResolveStartFromRevision
in interfaceIResolveRecord
- See Also:
IResolveRecord.setResolveStartFromRevision(int)
-
getResolveType
public java.lang.String getResolveType()
- Specified by:
getResolveType
in interfaceIResolveRecord
- See Also:
IResolveRecord.getResolveType()
-
setResolveType
public void setResolveType(java.lang.String resolveType)
- Specified by:
setResolveType
in interfaceIResolveRecord
- See Also:
IResolveRecord.setResolveType(java.lang.String)
-
-