|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRemoteStoreCloneFile
Extension interface for ICloneFile
which provides access to internal data
fields for use only by an IStoreProvider
.
All ICloneFile
implementations have to implement this interface.
Rationale:
These fields should not be accessed by other plugins. They are therefore "hidden" by this extra interface. The fact that anICloneFile
object will need to be cast to this interface before any of the fields can be accessed is meant to work as a deterrent for accidental access to these fields.
TheICloneObjectExtension
mechanism is not used by the base CPC plugins for performance reasons.
ICloneFile
Field Summary |
---|
Fields inherited from interface org.electrocodeogram.cpc.core.api.data.ICloneFile |
---|
PERSISTENCE_CLASS_IDENTIFIER |
Fields inherited from interface org.electrocodeogram.cpc.core.api.data.ICloneObject |
---|
PERSISTENCE_OBJECT_IDENTIFIER |
Method Summary | |
---|---|
java.lang.String |
getRepositoryVersion()
The current repository version number for the file underlying this ICloneFile object. |
boolean |
isRemoteDirty()
Whether the clone data for this file was locally modified since the last sync with the repository and must therefore be sent to the repository with the next commit. |
void |
setRemoteDirty(boolean remoteDirty)
Sets the remote dirty flag for this clone file. |
void |
setRepositoryVersion(java.lang.String repositoryVersion)
This value equals the ones in EclipseTeamEvent.getNewRevision() . |
Methods inherited from interface org.electrocodeogram.cpc.core.api.data.ICloneFile |
---|
getModificationDate, getPath, getProject, getSize |
Methods inherited from interface org.electrocodeogram.cpc.core.api.data.ICloneObject |
---|
addExtension, clone, equals, equalsAll, getExtension, getExtensions, getUuid, hasExtensions, hashCode, isMarked, removeExtension, removeExtension, setMarked, toString |
Methods inherited from interface org.electrocodeogram.cpc.core.api.data.ICloneDataElement |
---|
isSealed, seal |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Method Detail |
---|
java.lang.String getRepositoryVersion()
ICloneFile
object.
EclipseTeamEvent.getNewRevision()
.
void setRepositoryVersion(java.lang.String repositoryVersion)
EclipseTeamEvent.getNewRevision()
.
repositoryVersion
- the repository version to set, may be nullboolean isRemoteDirty()
void setRemoteDirty(boolean remoteDirty)
isRemoteDirty()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |