Class RefactoringItem
java.lang.Object
com._1c.g5.v8.dt.internal.refactoring.core.RefactoringItem
- All Implemented Interfaces:
IRefactoringItem
- Direct Known Subclasses:
NativeChangeRefactoringItem
The implementation of the
IRefactoringItem
.-
Constructor Summary
ConstructorsConstructorDescriptionRefactoringItem
(String name, boolean optional) Creates a new refactoring item. -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns a name of the refactoring operationboolean
Returns value indicating whether the operation is checked or not.boolean
Returns value indicating whether the operation is optional or not.void
setChecked
(boolean checked) Sets the refactoring operation checked.toString()
-
Constructor Details
-
RefactoringItem
Creates a new refactoring item.- Parameters:
name
- the refactoring operation name, cannot benull
.optional
- the optional flag.
-
-
Method Details
-
getName
Description copied from interface:IRefactoringItem
Returns a name of the refactoring operation- Specified by:
getName
in interfaceIRefactoringItem
- 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 interfaceIRefactoringItem
- 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 interfaceIRefactoringItem
- 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 interfaceIRefactoringItem
- Returns:
true
if the operation is checked,false
- otherwise.
-
toString
-