Package com.iizigo.project.refactor
Enum Class RefactoringOperation
- All Implemented Interfaces:
Serializable
,Comparable<RefactoringOperation>
,Constable
Enumeration for refactoring operations.
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Enum Constant Summary
Enum ConstantDescriptionContainer added.Container removed.Container renamed or moved.File added.File changed (contents, markers, etc).File removed.File renamed or moved.Folder added.Folder removed.Folder renamed or moved.Project close (always fired at project rename).Project open (always fired at project rename).Project rename.Project settings changed, e.g.Property added.Property removed.Property renamed or moved.Field Summary
Method Summary
Modifier and TypeMethodDescriptionboolean
hasBeenPerformed
(int bitValue) Checks if the operation has been performed.static RefactoringOperation
Returns the enum constant of this class with the specified name.static RefactoringOperation[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
PROPERTY_ADDED
Property added.PROPERTY_RENAMED
Property renamed or moved.PROPERTY_REMOVED
Property removed.CONTAINER_ADDED
Container added.CONTAINER_RENAMED
Container renamed or moved.CONTAINER_REMOVED
Container removed.FILE_ADDED
File added.FILE_RENAMED
File renamed or moved.FILE_CHANGED
File changed (contents, markers, etc).FILE_REMOVED
File removed.FOLDER_ADDED
Folder added.FOLDER_RENAMED
Folder renamed or moved.FOLDER_REMOVED
Folder removed.PROJECT_OPEN
Project open (always fired at project rename).PROJECT_CLOSE
Project close (always fired at project rename).PROJECT_RENAME
Project rename.PROJECT_SETTINGS_CHANGE
Project settings changed, e.g. Java source folder path(s).
Field Details
bitValue
public final int bitValueThe bit value.
Method Details
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
hasBeenPerformed
public boolean hasBeenPerformed(int bitValue) Checks if the operation has been performed.