Class AddLabelCommand
- java.lang.Object
-
- com.sodius.mdw.metamodel.integrity.io.command.ExecutableCommandWrapper
-
- com.sodius.mdw.metamodel.integrity.io.command.AddLabelCommand
-
- All Implemented Interfaces:
ExecutableCommand
public class AddLabelCommand extends ExecutableCommandWrapper implements ExecutableCommand
Adds a label to an
Item
based on its current state.Usage:
new AddLabelCommand(myItem, "my label").execute();
- Since:
- 1.9.3
-
-
Constructor Summary
Constructors Constructor Description AddLabelCommand(Item item, String label)
Instantiates a command to add a label.AddLabelCommand(Item item, String label, String comment)
Instantiates a command to add a label and a comment.
-
Method Summary
-
Methods inherited from class com.sodius.mdw.metamodel.integrity.io.command.ExecutableCommandWrapper
execute
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.sodius.mdw.metamodel.integrity.io.command.ExecutableCommand
execute
-
-