Class RefactoringItem

java.lang.Object
com._1c.g5.v8.dt.internal.refactoring.core.RefactoringItem
All Implemented Interfaces:
IRefactoringItem
Direct Known Subclasses:
NativeChangeRefactoringItem

public class RefactoringItem extends Object implements IRefactoringItem
The implementation of the IRefactoringItem.
  • Constructor Details

    • RefactoringItem

      public RefactoringItem(String name, boolean optional)
      Creates a new refactoring item.
      Parameters:
      name - the refactoring operation name, cannot be null.
      optional - the optional flag.
  • Method Details

    • getName

      public String getName()
      Description copied from interface: IRefactoringItem
      Returns a name of the refactoring operation
      Specified by:
      getName in interface IRefactoringItem
      Returns:
      a name of the refactoring operation, never null/
    • isOptional

      public boolean isOptional()
      Description copied from interface: IRefactoringItem
      Returns value indicating whether the operation is optional or not.
      Specified by:
      isOptional in interface IRefactoringItem
      Returns:
      true if the operation is optional, false - otherwise.
    • setChecked

      public void setChecked(boolean checked)
      Description copied from interface: IRefactoringItem
      Sets the refactoring operation checked.
      Specified by:
      setChecked in interface IRefactoringItem
      Parameters:
      checked - the flag indicating whether refactoring operation checked or not.
    • isChecked

      public boolean isChecked()
      Description copied from interface: IRefactoringItem
      Returns value indicating whether the operation is checked or not.
      Specified by:
      isChecked in interface IRefactoringItem
      Returns:
      true if the operation is checked, false - otherwise.
    • toString

      public String toString()
      Overrides:
      toString in class Object