Class CheckInCommand
- java.lang.Object
-
- com.sodius.mdw.metamodel.integrity.io.command.ExecutableCommandWrapper
-
- com.sodius.mdw.metamodel.integrity.io.command.CheckInCommand
-
- All Implemented Interfaces:
ExecutableCommand
public class CheckInCommand extends ExecutableCommandWrapper implements ExecutableCommand
Check in a new version for
Items
.This command requires PTC Integrity 10.5 or higher.
Notes:
- If the command is used on a
Item
of type Document,Items
contained by the document will be also checked in.
Usage:
new CheckInCommand(myItem, CheckInKind.MAJOR).execute();
- Since:
- 1.7.0
-
-
Constructor Summary
Constructors Constructor Description CheckInCommand(Item item, CheckInKind checkInKind)
Instantiates a command to check-in an Item.
-
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
-
-
-
-
Constructor Detail
-
CheckInCommand
public CheckInCommand(Item item, CheckInKind checkInKind)
Instantiates a command to check-in an Item.- Parameters:
item
- the item to check-in.checkInKind
- eitherCheckInKind.MAJOR
orCheckInKind.MINOR
-
-