com.intellij.openapi.vcs.update
Class FileGroup
java.lang.Object
com.intellij.openapi.vcs.update.FileGroup
- All Implemented Interfaces:
- JDOMExternalizable
public class FileGroup
- extends java.lang.Object
- implements JDOMExternalizable
|
Constructor Summary |
FileGroup()
|
FileGroup(java.lang.String updateName,
java.lang.String statusName,
boolean supportsDeletion,
java.lang.String id,
boolean canBeAbsent)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
myUpdateName
public java.lang.String myUpdateName
myStatusName
public java.lang.String myStatusName
mySupportsDeletion
public boolean mySupportsDeletion
myCanBeAbsent
public boolean myCanBeAbsent
myId
public java.lang.String myId
MODIFIED_ID
public static final java.lang.String MODIFIED_ID
- See Also:
- Constant Field Values
MERGED_WITH_CONFLICT_ID
public static final java.lang.String MERGED_WITH_CONFLICT_ID
- See Also:
- Constant Field Values
MERGED_ID
public static final java.lang.String MERGED_ID
- See Also:
- Constant Field Values
UNKNOWN_ID
public static final java.lang.String UNKNOWN_ID
- See Also:
- Constant Field Values
LOCALLY_ADDED_ID
public static final java.lang.String LOCALLY_ADDED_ID
- See Also:
- Constant Field Values
LOCALLY_REMOVED_ID
public static final java.lang.String LOCALLY_REMOVED_ID
- See Also:
- Constant Field Values
UPDATED_ID
public static final java.lang.String UPDATED_ID
- See Also:
- Constant Field Values
REMOVED_FROM_REPOSITORY_ID
public static final java.lang.String REMOVED_FROM_REPOSITORY_ID
- See Also:
- Constant Field Values
CREATED_ID
public static final java.lang.String CREATED_ID
- See Also:
- Constant Field Values
RESTORED_ID
public static final java.lang.String RESTORED_ID
- See Also:
- Constant Field Values
CHANGED_ON_SERVER_ID
public static final java.lang.String CHANGED_ON_SERVER_ID
- See Also:
- Constant Field Values
FileGroup
public FileGroup(java.lang.String updateName,
java.lang.String statusName,
boolean supportsDeletion,
java.lang.String id,
boolean canBeAbsent)
- Parameters:
updateName - - Name for "update" actionstatusName - - Name for "status action"supportsDeletion - - User can perform delete action for files from the groupid - - Using in order to find the groupcanBeAbsent - - If canBeAbsent == true absent files from the group will not be marked as invalid
FileGroup
public FileGroup()
addChild
public void addChild(FileGroup child)
getSupportsDeletion
public boolean getSupportsDeletion()
add
public void add(java.lang.String path)
getFiles
public java.util.Collection<java.lang.String> getFiles()
isEmpty
public boolean isEmpty()
getInvalidAttributes
public SimpleTextAttributes getInvalidAttributes()
getId
public java.lang.String getId()
writeExternal
public void writeExternal(org.jdom.Element element)
throws WriteExternalException
- Specified by:
writeExternal in interface JDOMExternalizable
- Throws:
WriteExternalException
readExternal
public void readExternal(org.jdom.Element element)
throws InvalidDataException
- Specified by:
readExternal in interface JDOMExternalizable
- Throws:
InvalidDataException
getChildren
public java.util.List<FileGroup> getChildren()
writeGroupsToElement
public static void writeGroupsToElement(java.util.List<FileGroup> groups,
org.jdom.Element element)
throws WriteExternalException
- Throws:
WriteExternalException
readGroupsFromElement
public static void readGroupsFromElement(java.util.List<FileGroup> groups,
org.jdom.Element element)
throws InvalidDataException
- Throws:
InvalidDataException
getStatusName
public java.lang.String getStatusName()
getUpdateName
public java.lang.String getUpdateName()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object