public interface IUpdateConfig
Modifier and Type | Method and Description |
---|---|
void |
addAdditionalFile(java.io.File toUpdate)
Add a file/directory to update recursively.
|
void |
addFragment(IGModelFragment f)
Add a project fragment to update.
|
java.util.Collection<java.io.File> |
getAdditionalFiles()
Get the additional files/directories to update.
|
java.util.Collection<MObject> |
getElements()
Get the list of elements where the update command is run.
|
java.util.Collection<IGModelFragment> |
getFragments()
Get the list of project fragments where the update command is run.
|
java.lang.String |
getRevision() |
boolean |
isBatchMode() |
void |
setRevision(java.lang.String revision)
Set the revision to which the update must be done.
|
void addAdditionalFile(java.io.File toUpdate)
toUpdate
- a file/directory to update recursively.void addFragment(IGModelFragment f) throws java.lang.IllegalArgumentException
f
- a project fragment to update.java.lang.IllegalArgumentException
- if the fragment is not versioned.java.util.Collection<java.io.File> getAdditionalFiles()
These directories will be updated at the same time as the model working copy.
java.util.Collection<MObject> getElements()
As the update command always update the whole fragment, this collection contains the root elements of the model fragment to update.
java.util.Collection<IGModelFragment> getFragments()
As the update command always update the whole fragment, this collection contains model fragment to update.
This collection is not modifiable.
#addFragment(IProjectFragment)
java.lang.String getRevision()
boolean isBatchMode()
void setRevision(java.lang.String revision)
null is the default value, that means update to the last revision.
revision
- the revision to update to.